This isn't quite what I hoped for:
sage: n = var('n')
sage: assume(n, 'integer')
sage: exp(I*n*pi).simplify_exp()
e^(I*pi*n)Is there a way to get Sage/Maxima to turn that into cos(n*x)? It seems like the integer assumption isn't filtering through. Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature
