Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'How to avoid 'Solve::ratnz' warning?' topicStudent Support Forum > General > Archives > "How to avoid 'Solve::ratnz' warning?"

Next Comment >Help | Reply To Topic
Author Comment/Response
07/20/12 03:47am

I tried to solve some Nonlinear equation with variable 'r' (a,b,d,[gamma],[Theta], etc are just number) which is

(Sqrt[a^2 + b^2] - r) Sec[\[Gamma] +
ArcSin[(r Sin[\[Theta]])/Sqrt[
d^2 + r^2 - 2 d r Cos[\[Theta]]]]] Sin[\[Theta]] == 0

There are several cases depends on the values of a,b,d,[gamma],[Theta]. There can be complex and non positive solutions, Only I want to get is positive Numeric (NOT Analytic!) solutions.

But in some cases, I faced

"Solve::ratnz: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result."

I know thie is just warning, but the problem is solving time is very long in this cases. One cases need is around 3~4 seconds but I have to solve more than million cases.

So I have to avoid this warning or I have to try to another approach. Is there any solutions?

Thank you in advance!

URL: ,

Subject (listing for 'How to avoid 'Solve::ratnz' warning?')
Author Date Posted
How to avoid 'Solve::ratnz' warning? iss 07/20/12 03:47am
Re: How to avoid 'Solve::ratnz' warning? jf 07/20/12 12:55pm
Re: How to avoid 'Solve::ratnz' warning? Michael 07/20/12 4:19pm
Next Comment >Help | Reply To Topic