Ask Your Question
1

No simplification is done to invert trigonometric functions ?

asked 2011-03-13 04:27:57 -0500

LLyaudet gravatar image

updated 2011-03-14 02:22:12 -0500

kcrisman gravatar image

I noticed that $\cos(\pi/6)$ gives $(1/2)\sqrt{3}$ as expected but $\arccos((1/2)\sqrt{3})$ gives $\arccos((1/2)\sqrt{3})$.

Is it a missing feature or is there an option that you must call explicitely to obtain $\arccos((1/2)\sqrt{3})=\pi/6$ ?

Thanks for your answer

edit retag flag offensive close merge delete

Comments

Unrelated to your question, you can used LaTeX-type markup to write on this site. Try to edit your question to see the syntax, which I've edited for you.

kcrisman gravatar imagekcrisman ( 2011-03-14 02:21:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
4

answered 2011-03-13 05:18:35 -0500

Mike Hansen gravatar image

You need to explicitly call trig_simplify for it to do the simplification in the other direction:

sage: f = arccos(1/2*sqrt(3)); f
arccos(1/2*sqrt(3))
sage: f.trig_simplify()
1/6*pi
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

Stats

Asked: 2011-03-13 04:27:57 -0500

Seen: 638 times

Last updated: Mar 14 '11