ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 20 Jun 2013 13:09:08 +0200Why abs(sin(pi/n)) is not simplified by sin(pi/n) when n>2https://ask.sagemath.org/question/10261/why-abssinpin-is-not-simplified-by-sinpin-when-n2/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 :
sage: show((abs(pi/n)).simplify())
gives "of course" the good result :
pi/n
Can someone explain to me what is happening?
moroplogoThu, 20 Jun 2013 13:09:08 +0200https://ask.sagemath.org/question/10261/