Question: Using MATLAB Consider a conical tank, partially filled with fluid, as shown below: Write a MATLAB function, tankvol.m, that calculates the volume of fluid in
Using MATLAB
Consider a conical tank, partially filled with fluid, as shown below: Write a MATLAB function, tankvol.m, that calculates the volume of fluid in the tank for a given depth of fluid, h, and tank sidewall angle, 0. Function syntax: v - tankvol (h, theta); Theta has units of degrees, and is an optional input argument with a default value of 45
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
