Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Extracting results from 2nd degree equations?' topicStudent Support Forum > General > "Extracting results from 2nd degree equations?"

Next Comment >Help | Reply To Topic
Author Comment/Response
hj
09/22/10 08:36am

If I get a list:
Solve[x^2 + 5 x - 3 == 0, x]
{{x -> 1/2 (-5 - Sqrt[37])}, {x -> 1/2 (-5 + Sqrt[37])}}

I can get one x with:
Solve[x^2 + 5 x - 3 == 0, x][[1]]
{x -> 1/2 (-5 - Sqrt[37])}

How do I get each result so I can put it in a function?
without the x -> ?

URL: ,

Subject (listing for 'Extracting results from 2nd degree equations?')
Author Date Posted
Extracting results from 2nd degree equations? hj 09/22/10 08:36am
Re: Extracting results from 2nd degree equations? Bill 09/22/10 6:03pm
Re: Extracting results from 2nd degree equations? Daniel Z-S 09/23/10 08:04am
Next Comment >Help | Reply To Topic