First time here? Check out the FAQ!
answered 2023-10-06 19:36:57 +0100
Also:
from sympy import Integral from sympy.abc import x Integral(1/x, (x, -1, 1)).principal_value()