BBy Bot
Jun 09'24

Exercise

[math] \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}[/math]

Write a program to compute [math]\mat {u}^{(n)}[/math] given [math]\mat {u}[/math] and [math]\mat{P}[/math]. Use this program to compute [math]\mat {u}^{(10)}[/math] for the Land of Oz example, with [math]\mat {u} = (0, 1, 0)[/math], and with [math]\mat {u} = (1/3, 1/3, 1/3)[/math].