Ask Your Question
0

How the new version achieves this:diff(x(t)*y(t)) in the latest version?

asked 2022-03-28 12:31:32 +0200

anonymous user

Anonymous

updated 2022-03-28 13:00:03 +0200

slelievre gravatar image

How the new version achieves this: diff(x(t)*y(t)) in the latest version?

sage: t = var(’t’)
sage: x = function(’x’, t) 
sage: y = function(’y’, t) 
sage: diff(x(t)*y(t),t)
TypeError: Substitution using function-call syntax and unnamed arguments
has been removed. You can use named arguments instead, like EXPR(x=..., y=...)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2022-03-28 13:06:38 +0200

tolga gravatar image

The following works in SageMathCell:

t = var('t')
x = function('x')(t) 
y = function('y')(t) 
diff(x*y,t)
edit flag offensive delete link more

Comments

Thanks !!!

TimeVector gravatar imageTimeVector ( 2022-03-28 16:05:25 +0200 )edit

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: 2022-03-28 12:31:32 +0200

Seen: 33 times

Last updated: Mar 28