Hello, I am having trouble plotting this function:

sage: plot3d((math.sqrt(2**3))*math.exp(-(x**2 + y**2)), (x, 0, 5 ), (y, 0, 
5))


plot3d((math.sqrt(Integer(2)**Integer(3)))*math.exp(-(x**Integer(2) + 
y**Integer(2))), (x, Integer(0), Integer(5) ), (y, Integer(0), Integer(5)))

/home/sem/SageMath/src/sage/symbolic/expression.pyx in 
sage.symbolic.expression.Expression.__float__ 
(/home/sem/SageMath/src/build/cythonized/sage/symbolic/expression.cpp:11265)()
   1411                     raise
   1412             except TypeError:
-> 1413                 raise TypeError("unable to simplify to float 
approximation")
   1414         return ret
   1415 

TypeError: unable to simplify to float approximation


I can't find the error here.  Can anyone help?

Many Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to