Question: Differentiation formula for parametric equations sequential

Hi,    I have the following    

for i from 1 to 100 do    x[i]:=cos(θ[i]);     y[i]:=sin(θ[i])  end do; 

Now I want to find the first and second derivatives for x[i] and y[i] which are

for i from 1 to 100 do     x1dot[i]:=-sin(θ[i]);     y1dot[i]:=cos(θ[i]); 

                                   x2dot[i]:=-cos(θ[i]);     y2dot[i]:=-sin(θ[i]);   end do;

Is there a method in maple to do the 1st and 2nd derivatives respectively without writting the second formulae.

Amr

Please Wait...