Hello, 2009/10/12 <wxu...@sohu.com>: > > Hi, everyone, I got the expression, > > sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4 + > 4*sin(t)^2*cos(t)^6 + cos(t)^8 > actually it is 1. how can I get it?
Here you go: sage: t = var('t') sage: a = sin(t)^8 + 4*sin(t)^6*cos(t)^2 + 6*sin(t)^4*cos(t)^4 + 4*sin(t)^2*cos(t)^6 + cos(t)^8 sage: a.trig_simplify() 1 --Mike --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---