Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Mathematica loop help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125434] Re: Mathematica loop help
  • From: roby <roby.nowak at gmail.com>
  • Date: Wed, 14 Mar 2012 00:34:49 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jjmvdg$ckl$1@smc.vnet.net>

On 13 Mrz., 09:10, Martin Scherer <martin.sche... at gcsc.uni-
frankfurt.de> wrote:
> Hi Anshu and Bill,
>
> I'am also very interested in the question whether you could back substitute the solution #i to the FindRoot #i+1 call. Please let me know, if and how you solved the problem!
>
> The solutions of FindRoot are in the format:
> {as -> 10., hs -> 1., ws -> 30., asl -> 10.0001, wsl -> 31.0003}
>
> and the starting solution is in format
> startSols := {{as , a}, {hs, h}, {ws, w}, {asl, a}, {wsl, w}}
>
> I think you need to convert the solutions list to a nested list {{x, number}, ...} again, so it can be used by FindRoot...
>
> Thank you in advance,
>
> Greetings,
> Martin


perhaps you ar looking for:

In[30]:= List@@@{as->10.,hs->1.,ws->30.,asl->10.0001,wsl->31.0003}
Out[30]= {{as,10.},{hs,1.},{ws,30.},{asl,10.0001},{wsl,31.0003}}

Robert



  • Prev by Date: Re: Map onto a column
  • Next by Date: Re: Grid Wont Show Formulas
  • Previous by thread: Re: Mathematica loop help
  • Next by thread: Re: Mathematica loop help