 CoCalc Public Filesreal-cube-root.ipynb
Author: Samuel Lelièvre
Views : 248
Description: Real cube root with Python2-based Sage
Compute Environment: Ubuntu 18.04 (Deprecated)

# Integration involving cube-root of negative reals

Reference:

In :
# SageMath version
version()

'SageMath version 8.6, Release Date: 2019-01-15'
In :
# Python version
sys.version_info[:3]

(2, 7, 15)
In :
y, z = var('y z')
cauchy = y.substitute(solve(z*y^3 + y^2 - 2*z*y + 2, y))
def F(u):
return arg(cauchy).substitute(z=u).n()
numerical_integral(F, 1, 2)

negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power negative number cannot be raised to a fractional power
(0.0, 0.0)
In [ ]: