In the modified Euler method you forgot to multiply the last term of y[i+1]
by h/2
.
I could not reproduce the Unicode error: also I didn’t use Plots but PyPlots, although I don’t believe this has anything to do with your error.
In the modified Euler method you forgot to multiply the last term of y[i+1]
by h/2
.
I could not reproduce the Unicode error: also I didn’t use Plots but PyPlots, although I don’t believe this has anything to do with your error.