We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sympy cannot integrate the function
import sympy from sympy import oo, pi x, y = sympy.symbols("x, y") print(sympy.integrate( sympy.exp(-sympy.sqrt(x ** 2 + y ** 2)), (x, -oo, +oo), (y, -oo, +oo) ))
What does work:
The function in 1D
print(sympy.integrate( sympy.exp(-sympy.sqrt(x ** 2)), (x, -oo, +oo), ))
2
the squared exponent
print(sympy.integrate( sympy.exp(-(x ** 2 + y ** 2)), (x, -oo, +oo), (y, -oo, +oo), ))
pi
Polar coordinates
r, phi = sympy.symbols("r, phi") print(sympy.integrate( r * sympy.exp(-r), (r, 0, +oo), (phi, 0, 2*pi) ))
2 * pi
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sympy cannot integrate the function
What does work:
The function in 1D
the squared exponent
Polar coordinates
The text was updated successfully, but these errors were encountered: