nshroff

4 Reputation

2 Badges

15 years, 92 days

MaplePrimes Activity


These are questions asked by nshroff

1) compute the first ten derivatives of f(x)=sin(x)cos(x) using a for...do...od loop. Describe the pattern for the derivatives. Use your description to predict the 2500th derivative form. 2) Expand the do-loop code in the first question to include a command line inside the loop that plots each derivative. The output shows that each derivative is plotted separately. To plot the derivatives simultaneously after the loop has terminated, save the plot inside the loop using a label such as pl[i]:=plot(df[i],x=-10..10_.
Page 1 of 1