From: omar bdair on
Hi all,
I'm trying to use the result of non-linear equation solved using Findroot order. The result of the solution is given as {a---> 0.5321}, say. I want to use this result and to let some variable like b to equal it, in other words I want to let b=0.5321 in order to use this value of b in other calculations.



Omar Bdair
Thanks

From: Bob Hanlon on

soln = FindRoot[Cos[a] == a, {a, 0}]

{a->0.739085}

b = a /. soln

0.739085

b

0.739085


Bob Hanlon

---- omar bdair <bdairmb(a)yahoo.com> wrote:

=============
Hi all,
I'm trying to use the result of non-linear equation solved using Findroot order. The result of the solution is given as {a---> 0.5321}, say. I want to use this result and to let some variable like b to equal it, in other words I want to let b=0.5321 in order to use this value of b in other calculations.



Omar Bdair
Thanks