Question: % inputs-2pts h-input('Enter the height of the float in meter '); The tank in a water tower has the geometry shown in the figure
% inputs-2pts h-input('Enter the height of the float in meter '); The tank in a water tower has the geometry shown in the figure (two cylinders with different diameters). Inside the tank, there is a float that indicates the level of the water. Complete the MATLAB program that determines the volume of the water in the tank from the position (height h) of the float. The program asks the user to enter a value of h in m, and as output displays the volume of the water in m. diameter 46 m Hints: Volume of a cylinder: Veylinder TR2H, R: radius, H: height r1= %. r2= ;% % Calculation of volume- 4pts. if h>__ || h
Step by Step Solution
There are 3 Steps involved in it
Answer Matlab code snippet cl... View full answer
Get step-by-step solutions from verified subject matter experts
