Dear Developers,
the code below produces a function which for any real u<3 gives as value \pi/3.
One can check that for any given number Sage has no problems to evaluate this function
and that it gives the right value.
For strange reason I cannot integrate this function numerically.
Also, I cannot plot this function.
Magically, while for any given value Sage has no problems to give a complex root of a negative number,
for numerical integration the behavior of the root changes.
Any help would be appreciated.
Yours,
Piotr
def F(u):
return arg( (-3 + u )^(1/3) ).n()
numerical_integral(F,1,2)