Simulation, Physics, Numerical Methods, Classical Mechanics, Computation.
Simple Pendulum def makeGif(x,y,name): !mkdir frames counter=0 images = [] for i in range(0,len(x)): plt.figure(figsize = (6,6)) plt.plot([0,x[i]],[0,y[i]], "o-", color = "b", markersize = 7, linewidth=.7 ) plt.title("Pendulum") plt.xlim(-1.1,1.1) plt.ylim(-1.1,1.1) plt.savefig("frames/" +