I still don't know my way around the Sage documentation... Sorry for the
elementary question.
I just tried to use the *solve* command to find the roots of a
polynomial of degree 4 with real coefficients. The result is a list of
solutions expressed in (complicated) symbolic form. When I attempted to
find the numerical value of the solutions, I got an error:
TypeError: cannot evaluate symbolic expression numerically
There must be a way to do this, analogous to the "solve" command in gp.
(I tried gp.solve(t=10,30,P(t)==0), but that gives an error too.)
Fernando
--
=============================================================
Fernando Q. Gouvea http://www.colby.edu/~fqgouvea
Carter Professor of Mathematics
Dept. of Mathematics and Statistics
Colby College
5836 Mayflower Hill
Waterville, ME 04901
The vermine is a small black and white relative of the lemming, found
in the cold Hublandish regions. Its skin is rare and highly valued,
especially by the vermine itself; the selfish little bastard will do
anything rather than let go of it.
-- Discworld wildlife
Terry Pratchett, Sourcery
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/d5ff6270-d0ea-73d0-46bd-8fdbea28b4f6%40colby.edu.