import matplotlib.pyplot as plt tau0 = 6.9092 k = 24 * 10 ** (-3) taus = [7.982, 7.967, 7.949, 7.929, 7.908, 7.880, 7.848, 7.818, 7.782, 7.735, 7.687, 7.634, 7.583, 7.512, 7.478, 7.423, 7.318, 7.266, 7.177, 7.136, 7.109, 7.092] T = [14.2, 15.05, 15.51, 16.03, 16.52, 17.03, 17.54, 18.03, 18.52, 19.04, 19.53, 20.04, 20.53, 21.05, 21.51, 22.04, 23.02, 24.03, 26.09, 28.09, 30.1, 32.04] delta_u = [-6, -16, -16, -16, -16, -14, -14, -15, -15, -14, -14, -13, -14, -9, -11, -14, -12, -20, -15, -15, -12, -13] y = [1 / (tau ** 2 - tau0 ** 2) for tau in taus] for i in range(len(T)): T[i] += k * delta_u[i] plt.scatter(T,y) plt.show()