5 25 Points Volume V Liquid Partially Filled Ellipsoid Shaped Tank Given V H 32 Ba Ang Pag Q43871348
Using Matlab R2019A

5. (25 Points) The volume V of a liquid in a partially filled ellipsoid shaped tank is given by V(H) =-(32 – no ba ang Page 3 of 5 Where h is the depth of the fluid measured from the ground. The figure below shows a cross section of the tank. Develop a separate M-file to create a properly labeled plot of the volume of the liquid versus the depth. Use the nargin command to verify the proper number of input arguments and assign units = ‘m’ if no units are provided. Here are the first few lines: function ellipsoid volume (a, b, plot title, units) & Volume of horizontal ellipsoid Inputs: $a – vertical semi-axis $b – horizontal radius plot title – string holding plot title % units – optional string describing the units, default = ‘m’. Show transcribed image text 5. (25 Points) The volume V of a liquid in a partially filled ellipsoid shaped tank is given by V(H) =-(32 – no ba ang Page 3 of 5 Where h is the depth of the fluid measured from the ground. The figure below shows a cross section of the tank. Develop a separate M-file to create a properly labeled plot of the volume of the liquid versus the depth. Use the nargin command to verify the proper number of input arguments and assign units = ‘m’ if no units are provided. Here are the first few lines: function ellipsoid volume (a, b, plot title, units) & Volume of horizontal ellipsoid Inputs: $a – vertical semi-axis $b – horizontal radius plot title – string holding plot title % units – optional string describing the units, default = ‘m’.
Expert Answer
Answer to 5. (25 Points) The volume V of a liquid in a partially filled ellipsoid shaped tank is given by V(H) =-(32 – no ba ang…
OR