# Quick question about improved Euler's method

• February 17th 2010, 12:45 PM
steph3824
Quick question about improved Euler's method
I am trying to understand an example in my book and something isn't making sense to me. The problem is: Use the improved Euler method to calculate approximate values of the solution of the initial value problem $y'=1-t-4y, y(0)=1$.

I have found that $F_0=5$. Assuming that h=.025 we then get $f(t_0+h,y_0+hf_0)=5.475$.

It is after this where I'm getting confused. The equation in my book is $y_n+1=y_n+(h/2)(f_n+f(t_n+h, y_n+hf_n))$. Using this we get $y_1=1+(0.5)(5+5.475)(0.025)=1.1309375$.

I cannot for the life of me figure out where the 0.5 is coming from. Can someone show me where it's coming from?
• February 17th 2010, 12:47 PM
steph3824
NEVER MIND! I had a major brain fart there. I just realized that they turned the 1/2 into a .5