mathmathmath9
New member
- Joined
- Mar 5, 2009
- Messages
- 1
Given y' = ?ym y(0) = 1
verify the solution to this equation is y(t) = e^(?t). by solving this equation numerically to get y(1).
consider these approximation solution to this equations:
Method 1:
yn+1 = yn + hf(yn+1,tn+1)
Method 2:
yn+1= yn + (h/2)(f(yn,tn) + f(yn+1,tn+1))
1.computer the truncation error for both methods. which is moe accurate?
2.substitute the value of f(y,t) = ?y and solve for yn+1 in both methods.
3.obtain an expression for yn+1 as a function of y0 for both methods
4.using the expressions obtained in the previous part, compute limit, as n-> infiniti, of yn
5.do the methods converge?
verify the solution to this equation is y(t) = e^(?t). by solving this equation numerically to get y(1).
consider these approximation solution to this equations:
Method 1:
yn+1 = yn + hf(yn+1,tn+1)
Method 2:
yn+1= yn + (h/2)(f(yn,tn) + f(yn+1,tn+1))
1.computer the truncation error for both methods. which is moe accurate?
2.substitute the value of f(y,t) = ?y and solve for yn+1 in both methods.
3.obtain an expression for yn+1 as a function of y0 for both methods
4.using the expressions obtained in the previous part, compute limit, as n-> infiniti, of yn
5.do the methods converge?