Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrate #14716

Open
vloddos opened this issue May 15, 2018 · 1 comment
Open

integrate #14716

vloddos opened this issue May 15, 2018 · 1 comment

Comments

@vloddos
Copy link

vloddos commented May 15, 2018

Can't count the integral from log(x+5)cos(pix).
Code:

from sympy import pi,sin,cos,log,S
x=S('x')
(log(x+5)cos(pix)).integrate((x,0.5,1))

@normalhuman
Copy link
Contributor

This looks like something that meijerg integration should be able to do. In fact, it does if the function is shifted by 5.

>>> integrate(log(x)*cos(pi*(x-5)), x)
-log(x)*sin(pi*x)/pi + Si(pi*x)/pi
>>> integrate(log(x+5)*cos(pi*x), x)
Integral(log(x + 5)*cos(pi*x), x)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants