Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Solve gives wrong solution' topicStudent Support Forum > General > Archives > "Solve gives wrong solution"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
01/21/13 00:59am

Dear Hila
Once again you encounter the pitfalls of numerical computation. Solve (as well as Reduce) handles this set of equations and constraints easily, and with no error.
You used N[Solve[...]]
while there are very high powers of the arguments (try Reduce without N, and you will see)

So, just replace
N[Solve[...]]
with
N[Solve[...],100] for accuracy of 100 digits and you will be surprised to see that
{{Ra -> 95.\
5701288878973728466744460884528229222834206757770449371053886312318993\
4299224948287700567097709919,
Rr -> 93.34517124624795338466278762681573952065455335207955355279453\
584905547721535128851234985319798434540}}

So the solver keeps the constraints, but numerical computations need to be handled carefully
:)
yehuda

URL: ,

Subject (listing for 'Solve gives wrong solution')
Author Date Posted
Solve gives wrong solution Hila 01/19/13 11:22am
Re: Solve gives wrong solution yehuda 01/21/13 00:59am
Re: Solve gives wrong solution yehuda 01/22/13 04:58am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic