Q 3.7-7E
Question
Use the fourth-order Runge–Kutta subroutine with h = 0.25 to approximate the solution to the initial value problem , at x = 1. (Thus, input N = 4.) Compare this approximation to the actual solution evaluated at x = 1.
Step-by-Step Solution
Verified Answer
1Step 1: Find the values of k i i = 1, 2, 3, 4
Since and x = 0, y = 1 and h = 0.25
2Step 2: Find the values of x and y
3Step 3: Use values of x and y for finding values of k i i = 1, 2, 3, 4
Now
4Step 4: Repeat the procedure for two times
And
Since at x = 1
Then
Hence the solution is
Other exercises in this chapter
Q3.4-20E
An object at rest on an inclined plane will not slide until the component of the gravitational force down the incline is sufficient to overcome the force due to
View solution Q3.2-5E
A swimming pool whose volume is 10,000 gal contains water that is 0.01% chlorine. Starting at t = 0, city water containing 0.001% chlorine is pumped into the po
View solution Q3.2-6E
The air in a small room 12 ft by 8 ft by 8 ft is 3% carbon monoxide. Starting at t = 0, fresh air containing no carbon monoxide is blown into the room at a rate
View solution Q3.2-7E
Beginning at time t=0, fresh water is pumped at the rate of 3 gal/min into a 60-gal tank initially filled with brine. The resulting less-and-less salty mixture
View solution