Consider a student who is rather irregular about classattendance. If she attends class one day, the probability is .8that she will attend class the next day. And if she misses class,the probability is .4 that she will miss again the followingday.
a. Set up the transition matrix for this stochastic process.
b. If the student attends the first day of class, what is theprobability she will miss the third day of class?
c. In the long run what proportion of the time will the studentattend class.
d, If student misses class one day, what is the average numberof classes going by before she misses
     class again.