Hmmm...try again:

>>> var('r:4 m2')
(r0,r1,r2,r3,m2)(r0,r1,r2,r3,m2)
>>> m=sqrt(m2)
>>> _m2 = r0**2 + r1**2 + r2**2
>>> m.diff(m2)*_m2.diff(r0)
r0√m2r0m2
>>> (m.diff(m2)*_m2.diff(r0)).xreplace({m2:_m2})
r0√r20+r21+r22r0r02+r12+r22
>>> sqrt(r0**2+r1**2+r2**2).diff(r0)
r0√r20+r21+r22r0r02+r12+r22



-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c526133e-865e-4e16-983f-56660b61cd53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to