Ask Your Question
1

No simplification is done to invert trigonometric functions ?

asked 2011-03-13 10:27:57 +0100

LLyaudet gravatar image

updated 2011-03-14 08:22:12 +0100

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 08:21:54 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-03-13 11:18:35 +0100

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 10:27:57 +0100

Seen: 1,267 times

Last updated: Mar 14 '11