Question: Newton Raphson and Romberg intergral.

The question is to use a program of modified newton raphson , incorporating the Romberg intergal procedure which i have already created, to create a new program which evaluates the integral f(alpha) = 1-10*int(tan(x)^alpha),from 0 to Pi/4.
The following needs to be incorporated in your program:

-Let ci be the approximation of alpha* on iterate i of your "modified newton raphson" method, then the program should run until:
             |ci-c(i-1)|<10^(-6)
is satisfied.

-The program should provide clear output, detailing
(A) the solution of alpha in an appropriately highlighted fashion
(B) the number of iterations that your program used to converge to this solution.

 

**Note: You do not need to put this program into a procedure.

 

 

Thanks guys, hope you can help.. 

Please Wait...