Once https://github.com/sympy/sympy/pull/1258 is fixed and merged, trigsimp() will be able to do it.
Aaron Meurer On Jul 7, 2012, at 4:41 PM, Chris Smith <[email protected]> wrote: > On Sat, Jul 7, 2012 at 10:48 AM, pallab <[email protected]> wrote: >> How to get that >> >> sin(4)-2*cos(2)*sin(2) >> >> is zero? > > >>>> eq > sin(4) - 2*sin(2)*cos(2) >>>> simplify(eq.rewrite(exp)) > 0 > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
