Close
Close window
firstlin - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

LREtools

firstlin

find solutions of First Order Linear Recurrence Equations

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

probRESolyk+1byk=a,yk,y0=cb+a+cb1,INFO

(1)
>

firstlinprob

bk1bka+cbcb1

(2)
>

firstlinyk+3exp2k+4yk+2=0,yk,

ⅇkk1y0

(3)
>

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

u0=0,un=n2n1u1

(4)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /