2. A spherical tank with radius R (=1.5 m) has a hole at the bottom through which water drains out. The flow rate, Q, through the hole is estimated as Q=0.55m² √2gh where r is the hole radius (=0.015 m), g is the gravity constant (=9.81 m/s2), and h is the depth of water. 20 h² (3R-h) 3 The initial height of water For the spherical tank, the volume of water, V, is given by V=- -Qusing Explicit Euler's method (A/= 200 sec), 4th dV is 2.95 m. Solve the mass balance equation = dr order Runge-Kutta method (A/= 200 sec), and ode45 solver. Plot water height (h) vs. time (r) for each Ar for 0 st≤ 5000 sec and confirm that the 4th order RK method is more accurate than Explicit Euler method (we regard the ode45 solution as the true solution). Use ExplicitEuler.m and rk4.m files. Solve the same problem also using Simulink.

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question
2. A spherical tank with radius R (-1.5 m) has a hole at the bottom through which water drains out. The
flow rate, Q, through the hole is estimated as
Q=0.55m² √2gh
where r is the hole radius (=0.015 m), g is the gravity constant (=9.81 m/s²), and h is the depth of water.
R
For the spherical tank, the volume of water, V, is given by V=
h
h² (3R-h)
3
The initial height of water
-Q using Explicit Euler's method (A/= 200 sec), 4th
dV
is 2.95 m. Solve the mass balance equation H
di
order Runge-Kutta method (A = 200 sec), and ode45 solver. Plot water height (h) vs. time (r) for each
At for 0≤t≤5000 sec and confirm that the 4th order RK method is more accurate than Explicit Euler
method (we regard the ode45 solution as the true solution). Use ExplicitEuler.m and rk4.m files. Solve
the same problem also using Simulink.
Transcribed Image Text:2. A spherical tank with radius R (-1.5 m) has a hole at the bottom through which water drains out. The flow rate, Q, through the hole is estimated as Q=0.55m² √2gh where r is the hole radius (=0.015 m), g is the gravity constant (=9.81 m/s²), and h is the depth of water. R For the spherical tank, the volume of water, V, is given by V= h h² (3R-h) 3 The initial height of water -Q using Explicit Euler's method (A/= 200 sec), 4th dV is 2.95 m. Solve the mass balance equation H di order Runge-Kutta method (A = 200 sec), and ode45 solver. Plot water height (h) vs. time (r) for each At for 0≤t≤5000 sec and confirm that the 4th order RK method is more accurate than Explicit Euler method (we regard the ode45 solution as the true solution). Use ExplicitEuler.m and rk4.m files. Solve the same problem also using Simulink.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Applied Fluid Mechanics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY