Ask Your Question

Revision history [back]

integrate(sin(x),x) doesn't work

Typing integrate(sin(x),x) in the workbook gives the correct answer -cos(x) In the shell I get

sage: integrate(sin(x),x)

TypeError Traceback (most recent call last) <ipython-input-1-996dddd859a4> in <module>() ----> 1 integrate(sin(x),x)

/opt/sage-6.3/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.__float__ (build/cythonized/sage/symbolic/expression.cpp:8129)()

TypeError: unable to simplify to float approximation

I get this error in binary downloads sage-6.2, sage-6.3 and in self compiled sage-6.3.

integrate(sin(x),x) doesn't work

Typing integrate(sin(x),x) in the workbook gives the correct answer -cos(x) In the shell I get

sage: integrate(sin(x),x)

integrate(sin(x),x) --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-1-996dddd859a4> in <module>() ----> 1 integrate(sin(x),x)

integrate(sin(x),x)

/opt/sage-6.3/local/lib/python2.7/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.__float__ (build/cythonized/sage/symbolic/expression.cpp:8129)()

(build/cythonized/sage/symbolic/expression.cpp:8129)()

TypeError: unable to simplify to float approximation

approximation

I get this error in binary downloads sage-6.2, sage-6.3 and in self compiled sage-6.3.