Python, Physics, Pendulum, Numerical Methods.
n_iter=300).euler(alpha).theta_ plt.plot(time,theta*180/np.pi,lw=3,color='red') plt.xlabel('time(s)',size=13) plt.ylabel('angle (deg)',size=13) plt.title('Euler Method',size=13) plt.show() We observe that with a time step of 0.1, the Euler method gives a solution that is not stable. This problem