Ask Your Question
1

declare name of derivative

asked 10 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 10 years ago

rws gravatar image

updated 10 years ago

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...

Preview: (hide)
link

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: 10 years ago

Seen: 828 times

Last updated: Mar 30 '15