What is the best way to replace cos(4x+6) with cos(2u) if u=2x+3? cos(4x+6).subs(2x+3, u) doesn't work and I don't know how to write it using replace.
I can' t do factor, since expression can be very big and factoring is not desirable. Is it possible to do it without factoring in clean way? Thank you. -- 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 http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/4d0f661b-d2fd-4842-844d-4449aaa92054%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
