Why abs(sin(pi/n)) is not simplified by sin(pi/n) when n>2
asked 2013-06-20 06:09:08 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I try to simplify an expression but Sage can't to do so.
This is my code :
sage: n= var("n") sage: assume(n,'integer',n>2) sage: show((abs(sin(pi/n))).simplify_full().simplify_trig())
But this code :
gives "of course" the good result :
Can someone explain to me what is happening?