Question: Must be in MATLAB code... Q3 A water tower has the shape shown in the given figure (the lower part is a cylinder and the

Must be in MATLAB code...

 Must be in MATLAB code... Q3 A water tower has the

Q3 A water tower has the shape shown in the given figure (the lower part is a cylinder and the upper part is an inverted cone frustum). Inside the tank there is a float that indicates the level of the water as it is being pumped into the tank. Write a script that calculate and plots the volume of the water in the tank for heights from 0 to h (the height of the float) as the tank is being filled. The value h can be anything from 0 to 33 by tenths. The final height h will be an input to the program. Assume that only values from 0 to 33 will be input (i.e., you don't need code to check this). The volumeA of the water at this value of h will be the output. dameter-46 m V. For 0 h 19 the volume is: V-T(12.5)2 h For 19

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!