Hi all, Anyone knows if there is a simple way of doing an expansion of sin(x)**p and cos(x)**p as a sum of cos(ix) or sin(ix) in sympy. I currently can do it in maple with the combine command but I want to use sympy.
The idea is that for example: sin(x)**5 = 1/16 sin(5 x) - 5/16 sin(3 x) + 5/8 sin(x) cos(x)**5 = 1/16 cos(5 x) + 5/16 cos(3 x) + 5/8 cos(x) Can anyone help me please? Thanks in advance -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.