k = 1; B = 9.76e-4; A = [1 -0.9512]; S = 0.0769; R = 9.76e-4*[1 -0.5257]; T = [1 -1.4 0.5];