MathGroup Archive 2005

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

Search the Archive

Re: Recursion


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
> 



  • Prev by Date: Re: How to set NumberForm in plots
  • Next by Date: Re: hunting down problems with my code
  • Previous by thread: Re: Recursion
  • Next by thread: Re: Recursion