import numpy as np import matplotlib.pyplot as plt #a = np.matrix([[1,1.15],[1,1.9],[1,3.06],[1,4.66],[1,6.84],[1,7.95]]) #b = np.matrix([[1.37],[2.4],[3.02],[3.06],[4.22],[5.42]]) a = np.matrix([[1,2.104], [1,1.416], [1,1.534], [1,0.852]]) b = np.ma…