Ask Your Question
0

Roots in a solution

asked 2012-10-08 13:19:15 +0200

MvG gravatar image

When I solve the equations I obtained from the code in this question, I get a number of solutions. Most of them complex numbers, whereas the single real solution simply prints as r1 when first executing the code, as r2 next, and so on. So I gather that this is some root which Maxima or whoever is doing the solving cannot reduce to radicals.

So far, so good, but I'd still like to be able to get an idea of what that thing represents. Saving my solutions to a list of dictionaries, I've been able to isolate that value, but I can't seem to find any reasonable methods to obtain further details. In particular, r.n() tells me that it

TypeError: cannot evaluate symbolic expression numerically

So what can I do? how can I figure out what this thing actually represents? I believe that it might be some root of a polynomial which still contains one variable from my equation. But how can I obtain that polynomial?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-10-08 14:19:20 +0200

kcrisman gravatar image

If you check out the documentation for solve, you'll see that

In some cases there may be infinitely many solutions indexed by a dummy variable. If it begins with z, it is implicitly assumed to be an integer, a real if with r, and so on:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-10-08 13:19:15 +0200

Seen: 521 times

Last updated: Oct 08 '12