I found that use nsimplify() can bypass this problem c = b = q2*sin(q1)**2 + q2*cos(q1)**2 + nsimplify(0.1)*sin(q1)**2 + nsimplify(0.1)*cos(q1)**2 simplify(c) will give result q2 + 1/10
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b0d52895-471e-4536-884c-5f12ac824194%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
