Simulation, Physics, Numerical Methods, Classical Mechanics, Computation.
str(counter)+ ".png") images.append(imageio.imread("frames/" + str(counter)+ ".png")) counter += 1 plt.close() imageio.mimsave(name, images) !rm -r frames def simple_pendulum(theta_0, omega, t, phi): theta = theta_0*np.cos(omega*t + phi) return theta #parameters of our system theta_0 =