Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Integration
New issue 1768 by asmeurer: integrate(sin(x)*tan(x), x) fails but
integrate(sin(x)**2/cos(x), x) doesn't
http://code.google.com/p/sympy/issues/detail?id=1768
In [35]: integrate(sin(x)**2/cos(x), x)
Out[35]:
log(1 +
Comment #3 on issue 1768 by tarun.ga...@gmail.com: integrate(sin(x)*tan(x),
x) fails but integrate(sin(x)**2/cos(x), x) doesn't
http://code.google.com/p/sympy/issues/detail?id=1768
we can detect and replace all the trignometric functions like sinx,cosx
etc.by symbolic notations like sinx=(P
Updates:
Status: Fixed
Comment #4 on issue 1768 by ronan.l...@gmail.com: integrate(sin(x)*tan(x),
x) fails but integrate(sin(x)**2/cos(x), x) doesn't
http://code.google.com/p/sympy/issues/detail?id=1768
This works now:
In [25]: integrate(sin(x) * tan(x), x)
Out[25]:
log(sin(x) - 1)
Updates:
Cc: mattpap
Comment #1 on issue 1768 by Vinzent.Steinberg: integrate(sin(x)*tan(x), x)
fails but integrate(sin(x)**2/cos(x), x) doesn't
http://code.google.com/p/sympy/issues/detail?id=1768
We could add a hack fix that the integrator tries this replacement if
failing, but I
th