| 1 | initial version |
FWIW :
sage: (x*sqrt(2)).n()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[ Snip... ]
TypeError: cannot evaluate symbolic expression numerically
sage: (x*sqrt(2))._sympy_().n()._sage_()
1.41421356237310*x
Nevertheless, rbunrning's answer to this (close question is highly relevant
HTH,
| 2 | No.2 Revision |
FWIW :
sage: (x*sqrt(2)).n()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[ Snip... ]
TypeError: cannot evaluate symbolic expression numerically
sage: (x*sqrt(2))._sympy_().n()._sage_()
1.41421356237310*x
Nevertheless, rbunrning's answer to this (close (close) question is highly relevant
HTH,
| 3 | No.3 Revision |
FWIW :
sage: (x*sqrt(2)).n()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
[ Snip... ]
TypeError: cannot evaluate symbolic expression numerically
indeed... But :
sage: (x*sqrt(2))._sympy_().n()._sage_()
1.41421356237310*x
Nevertheless, rbunrning's answer to this (close) question is highly relevant
HTH,
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.