Question: Problem 1: Volume of an ellipsoid (EllipsoidVolume.java) Description: For a given ellipsoid that is a quadric surface (shown in Fig 1), its volume can be

Problem 1: Volume of an ellipsoid (EllipsoidVolume.java) Description: For a given ellipsoid that is a quadric surface (shown in Fig 1), its volume can be computed by: 4 V = 3*n*a*b*c where, a, b, c are the length of its three axis. Please write a Java class EllipsoidVolume to compute and display the volume of an ellipsoid with its three axis to be 10.5, 8.6 and 5.7. The following figure shows an ellipsoid. b In your class definition, please define n as a constant named PI. Please format your output so that the output floating-point number is of scale of 2 (with 2 digits after the decimal point). Outputs: $java EllipsoidVolume The volume for the Ellipsoid with axis 10.5, 8.6 and 5.7 is: 2156.01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
