
Concept explainers
Solve the following initial value problem over the interval from
(a) Analytically.
(b) Euler's method with
(c) Midpoint method with
(d) Fourth-order RK method with
(a)

To calculate: The solution of the initial value problem
Answer to Problem 1P
Solution:
The solution to the initial value problem is
Explanation of Solution
Given Information:
The initial value problem
Formula used:
Tosolve an initial value problem of the form
Calculation:
Rewrite the provided differential equation as,
Integrate both sides to get,
Now use the initial condition
Hence, the analytical solution of the initial value problem is
(b)

To calculate: The solution of the initial value problem
Answer to Problem 1P
Solution:
For
t | y | |
0 | 1 | |
0.5 | 0.45 | |
1 | 0.25875 | |
1.5 | 0.245813 | 0.282684 |
2 | 0.387155 | 1.122749 |
And, for
t | y | |
0 | 1 | |
0.25 | 0.725 | |
0.5 | 0.536593 | |
0.75 | 0.422861 | |
1 | 0.36603 | |
1.25 | 0.356879 | 0.165057 |
1.5 | 0.398143 | 0.457865 |
1.75 | 0.51261 | 1.005997 |
2 | 0.764109 | 2.215916 |
Explanation of Solution
Given Information:
The initial value problem
Formula used:
Solve an initial value problem of the form
Calculation:
From the initial condition
Let
Proceed further and use the following MATLAB code to implement Euler’s method and solve the differential equation.
Execute the above code to obtain the solutions for
t | y | |
0 | 1 | |
0.5 | 0.45 | |
1 | 0.25875 | |
1.5 | 0.245813 | 0.282684 |
2 | 0.387155 | 1.122749 |
Now, the similar procedure can be followedfor the step size
The results thus obtained are tabulated as,
t | y | |
0 | 1 | |
0.25 | 0.725 | |
0.5 | 0.536593 | |
0.75 | 0.422861 | |
1 | 0.36603 | |
1.25 | 0.356879 | 0.165057 |
1.5 | 0.398143 | 0.457865 |
1.75 | 0.51261 | 1.005997 |
2 | 0.764109 | 2.215916 |
The results for the two-step-sizes are plotted along with the analytical solution
It is inferred that the smaller step-size would give a better approximation to the solution.
(c)

To calculate: The solution of the initial value problem
Answer to Problem 1P
Solution:
The solutions are tabulated as,
t | y | |
0 | 1 | |
0.5 | 0.623906 | |
1 | 0.491862 | |
1.5 | 0.602762 | 0.693176 |
2 | 1.364267 | 3.956374 |
Explanation of Solution
Given Information:
The initial value problem
Formula used:
Solve an initial value problem of the form
Here,
Calculation:
From the initial condition
Let
Now,
Proceed further and use the following MATLAB code to implement mid-point iterative scheme and solve the differential equation.
Execute the above code to obtain the solutions tabulated as,
t | Y | |
0 | 1 | |
0.5 | 0.623906 | |
1 | 0.491862 | |
1.5 | 0.602762 | 0.693176 |
2 | 1.364267 | 3.956374 |
The results for the are plotted along with the analytical solution
Thus, it is inferred that the mid-point method gives a good approximation to the solution.
(d)

To calculate: The solution of the initial value problem
Answer to Problem 1P
Solution:
The solutions are tabulated as,
t | y | ||||
0 | 1 | ||||
0.5 | 0.6016 | ||||
1 | 0.4645 | 0.2095 | 0.2391 | 0.6717 | |
1.5 | 0.5914 | 0.6801 | 1.4953 | 1.8937 | 4.4609 |
2 | 1.5845 | 4.5949 | 10.8302 | 17.0071 | 51.9532 |
Explanation of Solution
Given Information:
The initial value problem
Formula used:
Solve an initial value problem of the form
In the above expression,
Calculation:
From the initial condition
Let
And,
And,
Therefore,
Proceed further and use the following MATLAB code to implement RK method of order four, solve the differential equation.
In an another .m file, define the equation as,
Execute the above code to obtain the solutions tabulated as,
t | y | ||||
0 | 1 | ||||
0.5 | 0.6016 | ||||
1 | 0.4645 | 0.2095 | 0.2391 | 0.6717 | |
1.5 | 0.5914 | 0.6801 | 1.4953 | 1.8937 | 4.4609 |
2 | 1.5845 | 4.5949 | 10.8302 | 17.0071 | 51.9532 |
The results for the are plotted along with the analytical solution
Hence, it is inferred that the RK method of order four gives the best approximation to the solution.
Want to see more full solutions like this?
Chapter 25 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
- 6.76 A wind turbine is operating in a 12 m/s wind that has a den- sity of 1.2 kg/m³. The diameter of the turbine silhouette is 4 m. The constant-pressure (atmospheric) streamline has a diameter of 3 m upstream of the windmill and 4.5 m downstream. Assume that the velocity distributions are uniform and the air is incom- pressible. Determine the force on the wind turbine. m P = Patm 4 Vz 4m 4 m Fx. Problem 6.76arrow_forwardFor the position shown in the figure the spring is unstretched. The spring constant k, is designed such that after the system is released from rest, the speed of the mass is zero just as the 0.6 slug mass touches the floor. Find the spring constant, k and the maximum speed of block A and the location (distance above floor) where this occurs.arrow_forward||! Sign in MMB241 - Tutorial L9.pd X PDF MMB241 - Tutorial L10.pX DE MMB241 - Tutorial L11.p x PDF Lecture W12 - Work and X File C:/Users/KHULEKANI/Desktop/mmb241/MMB241%20-%20Tutorial%20L11.pdf PDE Lecture W11 - Power and X Draw Alla | Ask Copilot ++ 3 of 3 | D 6. If the 50-kg load A is hoisted by motor M so that the load has a constant velocity of 1.5 m/s, determine the power input to the motor, which operates at an efficiency € = 0.8. 1.5 m/s 2 7. The sports car has a mass of 2.3 Mg, and while it is traveling at 28 m/s the driver causes it to accelerate at 5m/s². If the drag resistance on the car due to the wind is FD= 0.3v²N, where v is the velocity in m/s, determine the power supplied to the engine at this instant. The engine has a running efficiency of P = 0.68. 8. If the jet on the dragster supplies a constant thrust of T-20 kN, determine the power generated by the jet as a function of time. Neglect drag and rolling resistance, and the loss of fuel. The dragster has a mass of 1…arrow_forward
- Q | Sign in PDE Lecture W09.pdf PDF MMB241 - Tutorial L9.pdi X PDF MMB241 - Tutorial L10.p X PDF MMB241 - Tutorial L11.p X Lecture W12-Work and X + File C:/Users/KHULEKANI/Desktop/mmb241/Lecture%20W12%20-%20Work%20and%20Energy.pdf ||! Draw | IA | a | Ask Copilot Class Work + 33 of 34 D Question 1 The engine of a 3500-N car is generating a constant power of 50 hp (horsepower) while the car is traveling up the slope with a constant speed. If the engine is operating with an efficiency of € 0.8, determine the speed of the car. Neglect drag and rolling resistance. Use g 9.81 m/s² and 1 hp = 745.7 W. 10 го Question 2 A man pushes on a 60-N crate with a force F. The force is always directed downward at an angle of 30° from the horizontal, as shown in the figure. The magnitude of the force is gradually increased until the crate begins to slide. Determine the crate's initial acceleration once it starts to move. Assume the coefficient of static friction is μ = 0.6, the coefficient of kinetic…arrow_forwardstate is Derive an expression for the volume expansivity of a substance whose equation of RT P = v-b a v(v + b)TZ where a and b are empirical constants.arrow_forwardFor a gas whose equation of state is P(v-b)=RT, the specified heat difference Cp-Cv is equal to which of the following (show all work): (a) R (b) R-b (c) R+b (d) 0 (e) R(1+v/b)arrow_forward
- of state is Derive an expression for the specific heat difference of a substance whose equation RT P = v-b a v(v + b)TZ where a and b are empirical constants.arrow_forwardTemperature may alternatively be defined as T = ди v Prove that this definition reduces the net entropy change of two constant-volume systems filled with simple compressible substances to zero as the two systems approach thermal equilibrium.arrow_forwardUsing the Maxwell relations, determine a relation for equation of state is (P-a/v²) (v−b) = RT. Os for a gas whose av Tarrow_forward
- (◉ Homework#8arrow_forwardHomework#8arrow_forwardBox A has a mass of 15 kilograms and is attached to the 20 kilogram Box B using the cord and pulley system shown. The coefficient of kinetic friction between the boxes and surface is 0.2 and the moment of inertia of the pulley is 0.5 kg * m^ 2. After 2 seconds, how far do the boxes move? A бро Barrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY





