Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

numeric approximation??

So I have an equation that solved looks something like this:

r == 1/488486532917088881338043645348028612608*sqrt(1271541785242875384103984923680382406444427305742938801212457) - 80406364132947/169706962694363951398912

and when I do anything to evaluate this numerically I get a TypeError? Right now I am copying and pasting this output into wolfram alpha, but really there has to be a better way?

numeric approximation??

So I have an equation that solved (symbolically) looks something like this:

r == 1/488486532917088881338043645348028612608*sqrt(1271541785242875384103984923680382406444427305742938801212457) - 80406364132947/169706962694363951398912

and when I do anything to evaluate this numerically I get a TypeError? Right now I am copying and pasting this output into wolfram alpha, but really there has to be a better way?

Furthermore if I try to evaluate the equation with find_root(...) I get this error:

File "expression.pyx", line 984, in sage.symbolic.expression.Expression.__float__ (sage/symbolic/expression.cpp:5596) TypeError: unable to simplify to float approximation

?!