MathGroup Archive 1999

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

Search the Archive

Re: Starting values with FindRoot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20669] Re: Starting values with FindRoot
  • From: Brian Higgins <bghiggins at ucdavis.edu>
  • Date: Sun, 7 Nov 1999 02:10:05 -0500
  • References: <7vrbfp$2hg@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Here is one way to do it:

In[28]:=
eq = Table[z[i]^2 == 2 i, {i, 2}]
myg = {{z[1], 1.5}, {z[2], 2.5}}
Apply[FindRoot[eq, ##] &, myg]

Out[28]=
{z[1]^2 == 2, z[2]^2 == 4}

Out[29]=
{{z[1], 1.5}, {z[2], 2.5}}

Out[30]=
{z[1] -> 1.41421, z[2] -> 2.}

Regrads, Brian


Sent via Deja.com http://www.deja.com/
Before you buy.


  • Prev by Date: Re: Color of GridLines
  • Next by Date: Mathematica Package on Elliptic Curves
  • Previous by thread: Re: Starting values with FindRoot
  • Next by thread: Re: Starting values with FindRoot