Q5.3-14E
Question
In Problems 14–24, you will need a computer and a programmed version of the vectorized classical fourth-order Runge–Kutta algorithm. (At the instructor’s discretion, other algorithms may be used.)†
Using the vectorized Runge–Kutta algorithm with h = 0.5, approximate the solution to the initial value problemat t = 8.
Compare this approximation to the actual solution .
Step-by-Step Solution
Verified Answer
The solution is 0.153081544.
1Transform the equation
Here on
Write the equation as .
The equations can be written as:
The transformation of the equation is:
The initial conditions are:
2Apply Runge –Kutta method
For the solution apply the Runge-Kutta method in MATLAB, and the solution is 0.153081544
3Compare this approximation to the actual solution y ( t ) = t 5 3 - t .
By putting the value of
Therefore, the approximation solution is .
Other exercises in this chapter
Q5.3-12E
In Problems 10–13, use the vectorized Euler method with h = 0.25 to find an approximation for the solution to the given initial value problem on the speci
View solution Q5.3-13E
In Problems 10–13, use the vectorized Euler method with h = 0.25 to find an approximation for the solution to the given initial value problem on the speci
View solution Q5.3-15E
In Problems 14–24, you will need a computer and a programmed version of the vectorized classical fourth-order Runge–Kutta algorithm. (At the instruc
View solution Q5.3-16E
In Problems 14–24, you will need a computer and a programmed version of the vectorized classical fourth-order Runge–Kutta algorithm. (At the instruc
View solution