Search for all pages containing RecurrenceTable
Mathematica > Mathematics and Algorithms > Calculus > Discrete Calculus >
Mathematica > Mathematics and Algorithms > Discrete Mathematics > Discrete Calculus >

RecurrenceTable

RecurrenceTable[eqns, expr, {n, nmax}]
generates a list of values of expr for successive n based on solving the recurrence equations eqns.
RecurrenceTable[eqns, expr, nspec]
generates a list of values of expr over the range of n values specified by nspec.
RecurrenceTable[eqns, expr, {n1, ...}, {n2, ...}, ...]
generates an array of values of expr for successive n1, n2, ....
  • The eqns must be recurrence equations whose solutions over the range specified can be determined completely from the initial or boundary values given.
  • The eqns can involve objects of the form a[n+i] where i is any fixed integer.
  • The range specification nspec can have any of the forms used in Table.
  • The following options can be given:
DependentVariablesAutomaticthe list of all dependent variables
MethodAutomaticmethod to use
WorkingPrecisionAutomaticprecision used in internal computations
  • With WorkingPrecision->Automatic, results for exact inputs are computed exactly, and for inexact inputs, the precision to use is determined adaptively at each iteration.
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team