k = 1; B = 9.76e-4; A = [1 -0.9512]; S = 0.1426; R = 9.76e-4*[1 -0.5625]; T = [1.4 -0.5625]/5.1538;