Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bug in integral?

Sage:

def h(x): return 1/((x + 1)^(1/3) + 1)
hint = integral(h(x), (x, -6, -2))
hint.n()

Exception ValueError: ValueError('negative number to a fractional power not real',) in 'sage.gsl.integration.c_ff'

Maple:

int(1/((x+1)^(1/3) + 1), x = -6..-2): 
evalf(%);
1.562667835 - 1.105160054 I