Ask Your Question

declare name of derivative

asked 2015-03-29 10:16:10 -0500

Harald gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2015-03-30 02:34:58 -0500

rws gravatar image

updated 2015-03-30 02:42:48 -0500

This specific output might not be possible, but you can define a function to be called on v.diff().

It's all explained at

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-03-29 10:16:10 -0500

Seen: 167 times

Last updated: Mar 30 '15