Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

declare name of derivative

After defining a function depending on one variable as

v(t) = function('v', t);

Then v.diff() displays as

t ↦ D[0](v)(t)

Rather I would like to teach Sage that the derivative of v is a such that v.diff() is displayed as t↦a(t).

Can this be done?