Modify the programnbspmatrix powersnbspso that it prints


1. Modify the program Matrix Powers so that it prints out the average Aof the powers Pn, for = 1 to. Try your program on the Land of Oz example and compare Aand Pn.

2. Assume that a man's profession can be classified as professional, skilled la- borer, or unskilled laborer. Assume that, of the sons of professional men, 80 percent are professional, 10 percent are skilled laborers, and 10 percent are unskilled laborers. In the case of sons of skilled laborers, 60 percent are skilled laborers, 20 percent are professional, and 20 percent are unskilled. Finally, in the case of unskilled laborers, 50 percent of the sons are unskilled laborers, and 25 percent each are in the other two categories. Assume that every man has at least one son, and form a Markov chain by following the profession of a randomly chosen son of a given family through several generations. Set up the matrix of transition probabilities. Find the probability that a randomly chosen grandson of an unskilled laborer is a professional man.

Request for Solution File

Ask an Expert for Answer!!
Dissertation: Modify the programnbspmatrix powersnbspso that it prints
Reference No:- TGS01290464

Expected delivery within 24 Hours