My professor told us to make a program that will materialize the Newton-Raphson method in java code. The thing is that we should use beginners code for this.
*Required: The program should return the value of x1 in each repetition and we must define the accuracy of the solution.(i.e double e=0.000005;
)
*x1 = x0 - (f(x0)/f'(x0)) x0 stands for the value we think is close to the solution.