I guess the algorithm is unable to determine the integral function.
On Saturday, October 11, 2014 8:45:42 AM UTC, Dario Beraldi wrote:
>
> 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/6788d9f9-659d-48ab-bb68-3b3c8745bbe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.