Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Storing solutions as variables' topicStudent Support Forum > General > "Storing solutions as variables"

Next Comment >Help | Reply To Topic
Author Comment/Response
Andrew Stallard
12/21/06 8:54pm

When using the solve command:

Solve[f[x]==g[x],x]

You get a solution that looks like this:

{x=k1,.....,kn}

However, none of these solutions are stored as the variable x. When entering x on the next line, Mathematica replies with:

x

Attempting to do something like this:

x1=Solve[f[x]==g[x],x]

only gives you this for a value of x1:

{x=k1,.....,kn}

Now, even in the case where there is only one solution for x, it is impossible to do any mathematics on x1 when in this form. What I want to know is how you store the solution to an equation using Solve as another variable.

Thank You for Responding:

Andrew Stallard

URL: www.regalmann.com,

Subject (listing for 'Storing solutions as variables')
Author Date Posted
Storing solutions as variables Andrew Stall... 12/21/06 8:54pm
Re: Storing solutions as variables Forum Modera... 12/22/06 09:10am
Re: Storing solutions as variables Joshua Staker 07/02/08 1:44pm
Next Comment >Help | Reply To Topic