Problem 57844. Solve an ODE: draining tank
Write a function to compute the time to drain a cylindrical tank of diameter D from an initial level
to a level h. The outflow occurs through a small circular orifice of diameter
at the bottom of the tank, and the outflow Q can be computed with
, where
is a discharge coefficient,
is the area of the orifice, and g is the acceleration of gravity, which should be taken as 9.81 m/s
.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers9
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15768 Solvers
-
Back to basics 13 - Input variables
378 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
Rounding off numbers to n decimals
5488 Solvers
-
Find Air Temperature from Cricket Stridulation Rate
972 Solvers
More from this Author321
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!