Numerical Methods, Scholarx, Sef, Electrical, Python3.
iEuler_nt50[1]) Err_nt100 = abs(iexact_nt100[1] - iEuler_nt100[1]) Err_nt500 = abs(iexact_nt500[1] - iEuler_nt500[1]) Err_nt1000 = abs(iexact_nt1000[1] - iEuler_nt1000[1]) fig, ax = plt.subplots() ax.plot(iEuler_nt50[0],Err_nt50,'r',label='Error plot with 50 time steps')