Q 3.7-10E
Question
Use the fourth-order Runge–Kutta algorithm to approximate the solution to the initial value problem at x = 2. For a tolerance of , use a stopping procedure based on the absolute error.
Step-by-Step Solution
Verified Answer
1Step 1: Find the values of k i , i = 1, 2, 3, 4
Since and and h = 1, M = 10
2Step 2: Find the values of x and y
Therefore .
Since
3Step 3: Find the other values
Apply the same procedure for h=0.5, and h=0.25 respectively.
Thus,
Hence,
So, .
Hence the solution is
Other exercises in this chapter
Q 3.7-8E
Use the fourth-order Runge–Kutta subroutine with h = 0.25 to approximate the solution to the initial value problem y'=1-y,y(0)=0 , at x = 1. Com
View solution Q 3.7-9E
Use the fourth-order Runge–Kutta subroutine with h = 0.25 to approximate the solution to the initial value problem y'=x+1-y,y(0)=1, at x = 1. Compare
View solution Q11E
The solution to the initial value problem\({\bf{y' = }}\frac{{\bf{2}}}{{{{\bf{x}}^{\bf{4}}}}}{\bf{ - }}{{\bf{y}}^{\bf{2}}}{\bf{,y(1) = - 0}}{\bf{.414}
View solution Q12E
By experimenting with the fourth-order Runge-Kutta subroutine, find the maximum value over the interval \(\left[ {{\bf{1,2}}} \right]\) of the solution to
View solution