Hello,
I have the function fx for which I want to evaluate the indefinite integral:
x= symbols('x')
fx= (sin(4*x) - sin(2*x)) / (cos(3*x))
i= integrate(fx)
print i
## Integral((-sin(2*x) + sin(4*x))/cos(3*x), x)
Now, how can I evaluate *i* to obtain the "expected" *-2*cos(x) + c* as per
here
http://www.wolframalpha.com/input/?i=integrate%28%28sin%284*x%29+-+sin%282*x%29%29+%2F+%28cos%283*x%29%29%29
I tried i.evalf(), i.doit() with no luck.
Again, many thanks for help!
Dario
--
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/ec5469fc-8db9-453d-b6ec-231bbfd5ac27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.