Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question
1

No simplification is done to invert trigonometric functions ?

asked 14 years ago

LLyaudet gravatar image

updated 14 years ago

kcrisman gravatar image

I noticed that cos(π/6) gives (1/2)3 as expected but arccos((1/2)3) gives arccos((1/2)3).

Is it a missing feature or is there an option that you must call explicitely to obtain arccos((1/2)3)=π/6 ?

Thanks for your answer

Preview: (hide)

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 ( 14 years ago )

1 Answer

Sort by » oldest newest most voted
4

answered 14 years ago

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

Stats

Asked: 14 years ago

Seen: 1,298 times

Last updated: Mar 14 '11