FindRoot vs Solve
- To: mathgroup at smc.vnet.net
- Subject: [mg22427] FindRoot vs Solve
- From: "F. Mittermayr" <mitterma at linz.vai.co.at>
- Date: Wed, 1 Mar 2000 00:40:28 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Why is FindRoot not able to solve an equation using "Degree"? Solve can do
it.
In[]=
Solve[28. Cos[phi Degree] - 20. == 0, phi]
FindRoot[28. Cos[phi1 Degree] - 20. == 0, {phi1, 0.1, 0.1, 90.}]
Out[]=
{{phi->-44.4153},{phi->44.4153}}
{phi1->96.7112}
Only the following statement gives the right result:
In[]=
FindRoot[28. Cos[phi2] - 20. == 0, {phi2, 0.1, 0.1, 90.}]
Out[]=
{phi2->0.775193}
so long F. Mittermayr