MathGroup Archive 2009

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

Search the Archive

Re: RecurrenceTable can't finish

  • To: mathgroup at
  • Subject: [mg101278] Re: RecurrenceTable can't finish
  • From: EcoTheory <carroll.ian at>
  • Date: Tue, 30 Jun 2009 06:30:45 -0400 (EDT)

Resolved. Sort of.

The problem vanishes (i.e. nspec equal to {i,1,n} works) when the above definition for d is replaced by

d[i_] := Piecewise[{{0, i == 0},{pi, i == n+1}}, 5/10 i/n];

Or any non-zero number aside from pi. I don't think RecurrenceTable needs to evaluate d[n+1], and the expression returned, so long as it is not zero, certainly doesn't effect the result. Weird.

  • Prev by Date: Re: Calculate n in binomial distribution
  • Next by Date: Manipulate without plus symbol
  • Previous by thread: Re: Separating real part and imaginary part from each
  • Next by thread: Manipulate without plus symbol