LREtools - Maple Programming Help

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

LREtools

 REplot
 two-dimensional plot of values from a sequence defined by a recurrence equation

 Calling Sequence REplot(problem, rang, options)

Parameters

 problem - problem rang - integer range or name = integer range

Description

 • The REplot function creates a two-dimensional plot of a list of values from a recurrence, over the range rang where the range must be made up of increasing non-negative integers.
 • Remaining arguments are interpreted as plot options. See plot/options for a list of possible options.
 • The command with(LREtools,REplot) allows the use of the abbreviated form of this command.

Examples

 > $\mathrm{with}\left(\mathrm{LREtools}\right):$
 > $\mathrm{REplot}\left(\left({n}^{2}+3n+2\right)g\left(n\right)+\left(-6-7n-2{n}^{2}\right)g\left(n+1\right)+\left(4n+5+{n}^{2}\right)g\left(n+2\right),g\left(n\right),\left\{g\left(0\right)=1,g\left(1\right)=\frac{1}{2}\right\},0..50\right)$
 > $\mathrm{REplot}\left(\left(1-{n}^{2}\right)u\left(n+1\right)+\frac{3u\left(n-1\right)}{2}+\left(\frac{1}{2}+\frac{3n}{2}+{n}^{2}\right)u\left(n\right),u\left(n\right),\left\{u\left(0\right)=1,u\left(2\right)=\frac{1}{2}\right\},i=0..50\right)$