MathGroup Archive 2005

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

Search the Archive

problem with FindRoot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54035] problem with FindRoot
  • From: "qfwfq" <qfwfq_0 at yahoo.com>
  • Date: Tue, 8 Feb 2005 05:31:16 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi all!

I have four equations (eq1=0, ..., eq4=0) with the the four unknowns
(y1, y2, y3, y4) in exponentials. I know the interval where the
solutions are, and I solve this equation set by means of FindRoot by
obtaining set of solutions. Then, I make a selection between the
obtained results.

However, I have a dependency between variables: y1<y2<y3<y4


mR = Table[FindRoot[{eqn1 == 0, eqn2 == 0, eqn3 == 0, eqn4 == 0}, {y1,
Random[Real, {a, b}]}, {y2, Random[Real, {a, b}]}, {y3, Random[Real,
{a, b}]}, {y4, Random[Real, {a, b}]}], {24}];

My question is

Is there any way of include the relation between y1, ..., y4 in the
selection of them by Random. Something like {y2, Random[Real, {y1,
b}]}, {y3, Random[Real, {y2, b}]}, ...

I hope I have clearly explained my problem.

Thanks


  • Prev by Date: Re: Mathematica
  • Next by Date: Re: Calling functions in a DLL in Win32
  • Previous by thread: Re: Extended Expand and ExpandAll.
  • Next by thread: Re: problem with FindRoot