# Créé par Eleve, le 12/03/2024 en Python 3.7 import matplotlib.pyplot as plt import numpy as np x = [0.74, 1.47, 2.23, 2.96, 3.69, 4.42, 5.15] y = [0.84, 1.51, 2.01, 2.33, 2.48, 2.45, 2.24] plt.plot(x, y, "go-") plt.xlabel("position x") plt.ylabel("position Y") plt.title("traj ballon") V0 = 48.5 ang = 52 x2 = np.linspace(0, 5, 100) y2 = np.tan(ang*3.14/180)*x2 - 9.81/(2*V0*np.cos(ang*3.14/180))*x2**2 plt.plot(x2, y2, "r-") plt.show()