Question: Advanced Functions l Modify ellipsoidInfo.m, so that the function returns some information about an ellipsoid or sphere) ending on the user's supplied input and expected
Advanced Functions
l Modify ellipsoidInfo.m, so that the function returns some information about an ellipsoid or sphere) ending on the user's supplied input and expected output
l If the user supplies one input, the function will calculate information for a sphere
l If the user supplies three inputs, the function will calculate information for an ellipsoid. The user would supply the values in the order: a, b, thenc
l If the user expects one output, the function will return the volume of the object If the user expects two outputs, the function will return the volume and surface area of the object
l Volume of a Sphere Page 3 xrdius 4 x x radius2
l (Approximate) Surface Area of an Ellipsoid for p = 1.6075
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
