Question: Mat-lab Please show all work and the out put The tank in a water tower has the geometry shown in the figure (the lower part
Mat-lab The tank in a water tower has the geometry shown in the figure (the lower part is a cylinder and the upper part is an inverted frustum cone). Inside the tank there is a float that indicates the level of the water. Write a script file that determines the volume (m^3) of water in the tank from the position (height h in meters) of the float. The volume of the cone portion can be determined by the following equation V = 1/3 pi(h - 19)(12.5^2 + 12.5r_h + r^2_h) Where r_h = 12.5 + 10.5/14 (h - 19) Run the program for heights of 8 m, 20 m and 25.7 m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
