# -*- coding: utf-8 -*-
"""
Created on Sun Feb  6 23:09:46 2022

@author: Kshitij
"""

#Python Assignment, Roll no. 431

#Q1 Find the stationary distribution for the Transition Probability Matrix below. Display and
#comment on the output. (Round off your final results up to 2 decimal places)

p = [[0.75,0.15,0.1],[0.45,0.45,0.1],[0.3,0.1,0.6]]

#Q2 

x = [3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.20]
y = [19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4]

#Q3

x1 = [2.76,1.8,2.5,10.64,12.01]
y1 = [7.4,4.81,6.69,28.52,32.18]

#Q4

X = [2.29, 19.98, 0.06, 12.01, 7.04, 2.44]
