P. 1
MAE230HW7AlbertDuong

|Views: 0|Likes:

See more
See less

12/18/2010

pdf

text

original

# Problem 2

Eulers Forward Improved
h
y_n+1=y_n+hf(x_n,y_n) !" y_n+1=y_n+(h#2)\$f(x_n+1,y%_n+1)+f(x_n,y_n)&
x_n y_n y_n+1 x_n y_n f(x_n,y_n)
1 1 1!1 1 1 2
1!" 1!1 1!22 1!" 1!11 2!'(
1!1 1!22 1!') 1!1 1!2* 2!(
1!1" 1!') 1!"' 1!1" 1!* '!"+
1!2 1!"' 1!+* 1!2 1!) *!*,
1!2" 1!+* 2 1!2" 1!," "!+"
1!' 2 2!'' 1!' 2!1, +!"(
1!'" 2!'' 2!+) 1!'" 2!)2 1!*
1!* 2!+) '!'' 1!* '!2* 1"
1!*" '!'' *!1' 1!*" *!1" 2'!2+
1!" *!1' "!2( 1!" "!)* *!2+
1!"" "!2( +!( 1!"" ,!*1 ,'!+*
1!) +!( 1!1+ 1!) 1*!(+ 2*,!1
1!)" 1!1+ 1)!1( 1!)" *1!* 1+"2!+
1!+ 1)!1( '!)+ 1!+ "*!* 2"*(1+!'"
1!+" '!)+ ,!'( 1!+" --- ---
1!, ,!'( *1!++ 1!, 2!'*E+22 "!*"E+**
1!," *1!++ ,,,"!'( 1!," 1!,)E+," '!*"E+1+
1!( ,,,"!'( --- 1!(-./01 -./01
1!(" --- --- 1!("-./01 -./01
2 --- --- 2-./01 -./01
h
y_n+1=y_n+(h#2)\$f(x_n+1,y%_n+1)+f(x_n,y_n)& !"
y%_n+1 y_n+1
1!1 1!11
1!2' 1!2*
1!'( 1!*
1!", 1!)
1!,2 1!,"
2!1* 2!1,
2!") 2!)2
'!1* '!2*
'!(( *!1"
"!'2 "!)*
+!)" ,!*1
12!) 1*!(+
2+!', *1!*
12,!)* "*!*
1'2*(!(1 ---
--- 2!'*E+22
--- 1!,)E+,"
----./01
-./01 -./01
-./01 -./01
-./01 -./01
Problem '

15 5.99 4.56 2.85 2.65 8.05 +1.24 1.62 3.y*_n+1)+f(x_n.34E+022 ### 1.h 0.64 7.86E+085 ### #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! #NUM! .82 1.04 13249.23 1.14 3.y_n)] y*_n+1 y_n+1 1.18 2.97 27.32 5.64 504.39 1.24 3.6 14.11 1.04 128.6 1.1 1.58 1.4 1.41 12.14 2.38 41.91 ### ### 2.

scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->