绘制炸弹轨迹 IV——更简单地绘制一条轨迹
import matplotlib.pyplot as plth, v0, g = 3000, 200, 9.8n = 30tmax=(2*h/g)**0.5delta = tmax/(n-1)########## Begin ##########T = [i*delta for i in range(n)]xt = [v0*t for t in T]yt=[h-0.5*g*t**2 for t in T]########## End ##########plt.plot(xt,yt,'