Re: Recursion

*To*: mathgroup at smc.vnet.net*Subject*: [mg54980] Re: Recursion*From*: "Carl K. Woll" <carlw at u.washington.edu>*Date*: Tue, 8 Mar 2005 05:04:44 -0500 (EST)*Organization*: University of Washington*References*: <d0guu7$7jn$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Christopher, You should take a look at the function FixedPoint. Your definition for W_0 will certainly run into recursion problems. Carl Woll "Christopher Grinde" <christopher.grinde at hive.no> wrote in message news:d0guu7$7jn$1 at smc.vnet.net... > > Hi. > I am quite new to mathematica and need help to set up a recursion loop: > > > \!\(W\_0[T_] := \@\(\(\(12\ \[CurlyEpsilon]\_Si\)\/\(q\ a\)\) \(\(2\ > \(k\_B\) \ > T\)\/q\) Log[\(a\ W\_0[T]\)\/\(2\ n\_i[T]\)]\)\%3\) > > How do I make this a recursive function which i can supply a start value > for > W0 and a limit for accuracy (W0[n]-W0[n+1]< some limit) > > Any help would be highly appreciated > -- > Christopher Grinde > VUC,IMST >