On Oct 8, 7:54 pm, Nils Bruin <nbr...@sfu.ca> wrote:
> If you define x,y,z to be functions of m, it does what you want:
>
> sage: var("m")
> sage: x=function("x",m)
> sage: y=function("y",m)
> sage: z=function("z",m)
> sage: diff(f,m)
> cos(z(m))*D[0](z)(m) + 2*x(m)*D[0](x)(m) + D[0](y)(m)

Yes, but the point of total differentiation is that the parameter m
should be arbitrary. We should be able to handdle the differentials
without the need to specify with respect to what we are
differentiating, for instance:

In[1]:= Dt[x y]

Out[1]= y Dt[x] + x Dt[y]

Before reading your reply I had though it would be easy to implement
total differentiation in sage with the stuff we've already got, but on
a second thought i don't think sage can express diffrentials by
themselves right now...

Oscar

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to