Question: Write a MATLAB script to visually demonstrate Torricellis law. Generate a plot of Flow velocity (m/s) as a function of the height (m) of the
Write a MATLAB script to visually demonstrate Torricellis law. Generate a plot of Flow velocity (m/s) as a function of the height (m) of the liquid above the opening from the time the opening is created until the height reaches the level of the opening, in 0.1 meter increments. The algorithm should input the diameter of the cylindrical tank (in meters) and the volume of liquid (cubic meters) that is to be placed in the tank. Place appropriate labels on the axes of the graph; add a descriptive title. For these calculations, the opening is on the side of the tank at the bottom. Assume that the actual height of the opening is negligible and the size of the opening creates no restrictions in fluid velocity. Include a sketch of your graph
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
