MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Using NMinimize to solve a system of equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52972] Using NMinimize to solve a system of equations
  • From: "OKULA Danielle" <DOKULA at it-external.com>
  • Date: Sat, 18 Dec 2004 03:59:51 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I am trying to use NMinimize to solve a system of equations, but I have been plagued with OverFlow, Underflow and division by zero problems when I change my F, L and WorkingPrecision.  Is there any other method in Mathematica to get reliable solutions to my equations ?

In[43]:=
f[F_, L_] := E^(-((F/a)^b/b)) - E^(-((L/a)^b/b)); 
NMinimize[{0, f[100, 1000]/f[1000, 2613.01757776] == 
     2768.91499137093/3351.95653836949 && 
    f[1000, 2613.01757776]/f[5000, 10000] == 
     3351.95653836949/1680 && 
    f[100, 1000]/f[5000, 10000] == 2768.91499137093/
      1680 && 0. < b < 1. && 10^(-16) < a < 10^11}, 
  {a, b}, WorkingPrecision -> 20, MaxIterations -> 5000, 
  AccuracyGoal -> 15, PrecisionGoal -> 15, 
  EvaluationMonitor :> Print[{a, b}]]

Thank you in advance,

Danielle


**********************************************************************
Ce message est exclusivement destiné aux personnes dont
le nom figure ci-dessus. Il peut contenir des informations
confidentielles dont la divulgation est à ce titre 
rigoureusement interdite. Dans l'hypothèse où vous auriez 
reçu ce message par erreur, merci de le renvoyer à l'adresse
e-mail ci-dessus.
This message is Intended for the above-mentioned 
addressees only. It may contain confidential information
the review, dissemination or disclosure of which is strictly
prohibited. Should you receive this message in error,
please return it to the e-mail address indicated above.
**********************************************************************


  • Prev by Date: Re: Laplace Transformation vs. erf
  • Next by Date: Re: Mathematica slows down
  • Previous by thread: Re: An argument pattern problem: ranges and lists
  • Next by thread: File association in 5.01