Dear all,

I would like to differentiate functions that contain unknown functions
of the variable. This explanation probably doesn't mean much, so I'd
better show an example:

sage: var('c x y t')
(c, x, y, t)
sage: x=function('x',t)
sage: y=function('y',t)
sage: f=c*x*y
sage: diff(f,t)
c*x(t)*diff(y(t), t, 1) + c*y(t)*diff(x(t), t, 1)

In the above example, x and y are some functions of t while c is
independent of t. If I take the derivative of f=c*x(t)*y(t), I
correctly obtain diff(f(t),t)=c*x(t)*diff(y(t), t) + c*y(t)*diff(x(t),
t), but for the result looks a bit ugly and does not show well in
latex. Can diff(x(t), t) be expressed in a shorter way, such as x'(t),
similarly to Mathematica? Is there a way of getting derivatives
translated into latex code?

Something similar would apply to integrals.

Thanks for  your help!

Regards,
Stan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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