Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2949 by waks...@gwax.com: trig functions do not return exact results for half angles
http://code.google.com/p/sympy/issues/detail?id=2949

trig functions should become exact results for half angles

sin(pi / 12) == sqrt((1 - cos(pi/6))/2) == (sqrt(3) - 1) / (2 * sqrt(2))

however, sin(pi/12) is always returned as sin(pi/12)

sin(pi/12)
sin(pi/12)
_.evalf()
0.258819045102521

sqrt((1-cos(pi/6))/2)
(-3**(1/2)/4 + 1/2)**(1/2)
_.evalf()
0.258819045102521

(sqrt(3)-1)/(2*sqrt(2))
2**(1/2)*(-1 + 3**(1/2))/4
_.evalf()
0.258819045102521


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to