Question: I'm have difficulty with my code please can I have a step by step in Matlab thank you. this is the template thank you 3)

 I'm have difficulty with my code please can I have a

step by step in Matlab thank you. this is the template thank

I'm have difficulty with my code please can I have a step by step in Matlab thank you.

you 3) Ellipsoid Tank The volume V of a liquid in a

this is the template thank you

3) Ellipsoid Tank The volume V of a liquid in a partially filled ellipsoid shaped tank is givenby: V(h)=3(3ah)a2b2h2 Where h is the depth of the fluid measured from the ground. The figure below shows a cross section of the tank. h Develop a single function to create a properly labeled plot of the volume of the liquid versus the depth and/or calculate the total volume of the tank. Use the nargin command to verify the proper number of input arguments and assign units = ' m ' if no units are provided. Use the nargout command to determine whether to calculate and return the total tank volume. The function has been started in the HW 1 template. a) Test \#1: Test your function (by calling it from within your script) with the commands: plot_title = Volume versus depth for an= ellipsoid tank'; el1ipsoid volume (48,216, plot title, b) Test \#2: Test your function (by calling it from within your main program) with the command: V= elilipsoid voitme (10,2) Use an fprintf statement to display V with four decimal places (e.g. "The volume of the tank is xxxox. xxxx cubic meters"). Problem \#3 - Ellipsoid tank a) Test \#1 - Provide title and units, no return value \% Test \#1 code b) Test \#2 - Use defaults, return volume \% Test \#2 code

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!