I  want to accomplish the following:

Mathematica syntax:

x=q[t];
z=1/2 *x^2;
x'=D[x,t];
z'=D[z,t];
D[z*z',x']

out: 1/2 q[t]^3

When I try this in sage :

t=variable('t')
x=function('q',t)
x_dot=diff(x,t)
z_dot=diff(z,t)

diff(z_dot *z,x_dot)
fails because x_dot is a derivative and not a symbol

Where in the documentation is this method covered?
Thanks

Scott






--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to