LREtools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : LREtools : LREtools/firstlin

LREtools

  

firstlin

  

find solutions of First Order Linear Recurrence Equations

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

firstlin(problem)

Parameters

problem

-

problem statement or RESol

Description

• 

Solves first order, linear recurrence equations.

• 

A first order linear recurrence equation in y(k) is Akyk+1+Bkyk=Ck where A(k), B(k), and C(k) are independent of y(k).

• 

If A(k) is undefined for some k, then a set of equations may be returned, giving values of y(k) for specific k as well as the general formula.

• 

See the help page for LREtools[REcreate] for the definition of the format of a problem.

Examples

withLREtools:

probREcreateyk+1byk=a,yk,y0=cab1

prob:=RESolyk+1byk=a,yk,y0=bc+a+cb1,INFO

(1)

firstlinprob

bka1bk+bk+1cbkcb1

(2)

firstlinyk+3ⅇ2k+4yk+2=0,yk,

ⅇkk1y0

(3)

firstlinun+1=2unn+1n,un,

u0=0,un=2n1nu1

(4)

See Also

LREtools

LREtools[REcreate]

RESol

rsolve

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam