Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Cannot use results of a previous evaluation.' topicStudent Support Forum > General > "Cannot use results of a previous evaluation."

Next Comment >Help | Reply To Topic
Author Comment/Response
Madhusudan Singh
12/10/99 05:50am

I tried to evaluate the following expressions:

In[1]:= b0 = FindRoot[0.5 (1 - b) == ArcTan[(1 - b)/(1 +b)], {b, 0}]
f[x_] = x^2 + 5 x + 16
f[b0]
f[x] /. b0
Out[1]= {b -> 0.998126}
Out[2]=\!\(16 + 5\ x + x\^2\)
Out[3]= \!\({16 + 5\ \((b -> 0.9981258021522373`)\) + \((b->0.9981258021522373`)\)$
Out[4]=\!\(16 + 5\ x + x\^2\)

-------
Please ignore the control sequences (they are just a quirk of the cut and paste.).

What I am trying to do is :
1. Find the root of a transcendental equation.
2. Use that in another expression to find the value of a quantity.
Isn't the way shown above the correct thing to do ?

This kind of an output is quite useless for me if I have to do a complicated multi-step calculation.

   I am new to Mathematica.
Madhusudan Singh.

URL: ,

Subject (listing for 'Cannot use results of a previous evaluation.')
Author Date Posted
Cannot use results of a previous evaluation. Madhusudan S... 12/10/99 05:50am
Re: Cannot use results of a previous evaluation. Forum Modera... 12/10/99 07:15am
Next Comment >Help | Reply To Topic