Question: This question shoud be solved by using Matlab. Please show every step clearly. The tank in a water tower has the geometry shown in the

This question shoud be solved by using Matlab.

Please show every step clearly.This question shoud be solved by using Matlab. Please show every step

The tank in a water tower has the geometry shown in the figure (top and lower portions are shaped as cylinders). Inside the tank there is a float that indicates the level of the water in the tank. Write a script file that determines the volume of the water in the tank from the position (height h) of the float. The input to the script file is the value of h in m, and the output is the volume of the water in m^3 (use an fprintf command to display your output). Execute your program for the following cases a) h = 18 m b) h = 22 m

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!