Ask Your Question
0

Sage fails to evaluate this expression.

asked 2015-03-29 11:12:06 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Sage doesn't seem to compute correctly 8*sin(pi/9)^3 - 6*sin(pi/9) + 3^(1/2) which is plain zero.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-03-29 12:02:01 +0100

eric_g gravatar image

updated 2015-03-29 12:13:33 +0100

Sage can compute it, but you must help it with reduce_trig():

a = 8*sin(pi/9)^3 - 6*sin(pi/9) + 3^(1/2)
a.reduce_trig()
0
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: 2015-03-29 11:12:06 +0100

Seen: 371 times

Last updated: Mar 30 '15