Maple Text Commands for Chapter 11 -
LINEAR DISCRETE DYNAMICAL SYSTEMS
Example 1: Solving recurrence relations
.
| > | restart:b:=evalf(rsolve({x(n+1)=(1+(3/(100)))*x(n),x(0)=10000},x)):
n:=5:evalf(b,7); |
Example 2(i): Second-order linear difference equation
| > | n:='n':
factor(rsolve({x(n+2)=x(n+1)+6*x(n),x(0)=1,x(1)=2},x)); |
Example 4: Leslie matrices.
| > | with(LinearAlgebra): |
| > | L:=Matrix([[0,3,1],[0.3,0,0],[0,0.5,0]]);
|
| > | X0:=<<1000,2000,3000>>;
|
| > | X10:=L^(10).X0;
|
| > | Eigenvectors(L); |
, Matrix(%id = 145940868)](images/Chaps11_8.gif)
, Matrix(%id = 145940868)](images/Chaps11_9.gif)
![]()
![]()
![]()
End of Chapter 11 Commands