Ask Your Question
1

declare name of derivative

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

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
1

answered 2015-03-30 09:34:58 +0100

rws gravatar image

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

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

It's all explained at http://sagemath.org/doc/reference/cal...

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

Stats

Asked: 2015-03-29 17:16:10 +0100

Seen: 729 times

Last updated: Mar 30 '15