Ask Your Question

declare name of derivative

asked 2015-03-29 17:16:10 +0200

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 09:34:58 +0200

rws gravatar image

updated 2015-03-30 09:42:48 +0200

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 17:16:10 +0200

Seen: 466 times

Last updated: Mar 30 '15