Can anyone help me out as well?
I'm geting the illegal start error when starting the loop (while) in the following code:

import java.util.Scanner;
public class Targiln5 {

    public static void main(String[] args) {
    Scanner input = new Scanner(;   
    double a, b;
    System.out.println("Please enter the equivalnce of a and b");
    a = input.nextDouble();
    b = input.nextDouble();
    double root = bisection (a, b);
        System.out.println("The root is" + root);
   public static double f(double x) {
       return x*x*x -x -1;
   public static double bisection (double a, double b){
       double m;
       while (Math.abs (f(b) - f(a)))=> 1.0 e - 5){
           m = (a + b)/2;
           if (f(m)<0){
               a = m;
           } else {
               b = m;
           return m;

You have one too many close parens on the abs call.