I would like to separate this math expression 'log(2x)cos(x)' into 'log(2x)' and 'cos(x)'. Im using Sympy to solve each part of the expression. I tried regex and ast.parse to separate math operation by parts but I didn't succeeded. What I'm trying to do is to solve 'log(2x)' first, 'cos(x)' second and then 'log(2*x)*cos(x)'. How can I get each math operation from an math expression?
x(a)operationy(b)
? - NelsonGon