Ask Your Question
0

What types of simplify work now

asked 2022-05-23 04:46:59 +0100

cybervigilante gravatar image

I'm trying the various forms of simplify I see in the docs, but most say "not found" What exactly is going on? Have some been superseded? What ones still work in Sagemath 9.3 for Windows? i.e. "simplify_full()", "simplify_trig()", "simplify_rational()",\n "simplify_rectform()" "simplify_factorial()", "simplify_log()",\n "simplify_real()", "simplify_hypergeometric()",\n "canonicalize_radical()"

for instance: simplify_trig? Object simplify_trig not found. simplify_full? Object simplify_full not found.

Where am I confused?

I seem to recall using these but didn't use sage for a while. What works now?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-05-23 05:54:35 +0100

slelievre gravatar image

They are methods rather than functions.

They can be applied to symbolic expressions.

Try this for instance.

sage: x = SR.var('x')
sage: expr = sin(x)^2 + cos(x)^2
sage: expr.simplify_trig()
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: 2022-05-23 04:46:59 +0100

Seen: 215 times

Last updated: May 23 '22