Q5.3-21E
Question
Fluid Ejection. In the design of a sewage treatment plant, the following equation arises: where H is the level of the fluid in an ejection chamber, and t is the time in seconds. Use the vectorized Runge–Kutta algorithm with h = 0.5 to approximate over the interval [0, 5].
Step-by-Step Solution
Verified Answer
The result can get by the Runge-Kutta method.
1Transform the equation
Here the equation is
The system can be written as:
The transform equation:
The initial conditions are:
2Apply the Runge-Kutta method.
Here h=0.5, N=10 steps, then;
3Apply the recursive formula
Apply the same procedure for n=1, 2,…., 9.
N | ||
0 | 0 | 0 |
1 | 0.5 | 0.09573 |
2 | 1.0 | 0.37389 |
3 | 1.5 | 0.81045 |
4 | 2.0 | 1.37361 |
5 | 2.5 | 2.03111 |
6 | 3.0 | 2.7549 |
7 | 3.5 | 3.52322 |
8 | 4.0 | 4.319 |
9 | 4.5 | 5.13307 |
10 | 5.0 | 5.95554 |
This is the required result.
Other exercises in this chapter
Q10E
In Problems 10–13, use the vectorized Euler method with = 0.25 to find an approximation for the solution to the given initial value problem on the specifi
View solution Q5.3-19E
Predator-Prey Model. The Volterra–Lotka predator-prey model predicts some rather interesting behavior that is evident in certain biological systems.
View solution Q5.3-26E
Use the Runge–Kutta algorithm for systems with h = 0.1 to approximate the solution to the initial value problem.x'=yz;x(0)=0,y'=-xz;y(0)=1,z'=-xy2;z(
View solution Q5.3-27E
Generalized Blasius Equation. H. Blasius, in his study of the laminar flow of a fluid, encountered an equation of the form y'''+yy''=(y')2-1. Use the Runge&ndas
View solution