package euler;
import newton.Polynomial;

/** Solves a differential equation using Euler's method.*/
public class EulerSolver {
	/** A new EulerSolver for the Polynomial F.*/
	public EulerSolver(Callable f, double y0, int a, int b, int h) {
		
	}
}

@@ -240,10 +240,630 @@
 %7B%0A%09%09
-%0A%09%7D
+t = a;%0A%09%09init_val = y0;%0A%09%09b_val = b;%0A%09%09height = h;%0A%09%09func = f;%0A%09%7D%0A%09public void solve() %7B%0A%0A%09    while (t %3C b_val) %7B%0A%09      System.out.println (%22%22 + t + %22 %22 + init_val);%0A%09      t += height;%0A%09      init_val += height * func.compute (t, init_val);%0A%09    %7D%0A%09    System.out.println (%22DONE%22);%0A%09%7D%0A%09%0A%09/** THIS function to be solved by Euler.*/%0A%09private Callable func;%0A%09%0A%09/** The T parameter for the function.*/%0A%09private int t;%0A%09%0A%09/** The initial value for the IVP.*/%0A%09private double init_val;%0A%09%0A%09/** The B parameter for the function.*/%0A%09private int b_val;%0A%09%0A%09/** The height (num of steps) for the Euler solver.*/%0A%09private int height;
 %0A%7D%0A

Update EulerSolver.java