davidpthompson

0 Reputation

2 Badges

13 years, 202 days

MaplePrimes Activity


These are questions asked by davidpthompson

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)

I have defined a function as follows:

f:=alpha->1-RombInt(10*tan(x)^alpha,0,Pi/4,1,2);

and now i need to plot this function to see where the root lies, i have tried to do this using the following command:

plot(10*tan(x)^alpha);

and i have tried putting in boundaries but it doesnt seem to work. Can anyone help me please. 

Page 1 of 1