CoCalc Shared Filesreal-cube-root.ipynb
Author: Samuel LeliÃ¨vre
Views : 86
Description: Real cube root with Python2-based Sage

# Integration involving cube-root of negative reals

Reference:

In [5]:
# SageMath version
version()

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

(2, 7, 15)
In [1]:
y, z = var('y z')
cauchy = y.substitute(solve(z*y^3 + y^2 - 2*z*y + 2, y)[0])
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 [ ]: