Consider the following ODE:
1. y'=-t.e^(-t).y, y(0)=1, t>=0
2. y''+t^2.y=0, y(0)=1, y'(0)=0.5, 0<=t<=5
Obtain the maximum time steps for (1) and (2), respectively, when you use the following methods:
a. Explicit Euler
b. Second-order Runge-Kutta method
c. Trapezoidal method
d. 4th-order Runge-Kutta method.
Bài viết đã được chỉnh sửa nội dung bởi namcpnh: 27-04-2016 - 20:39