Question: LastName _ ID _ HW _ 0 2 _ main.m Submit the MATLAB script . m file Oblate spheroid calculations. An oblate spheroid such

"LastName_ID_HW_02_main.m"
Submit the MATLAB script .m file
Oblate spheroid calculations.
An oblate spheroid such as the Earth is obtained by revolving an ellipse about its minor axis. In everyday terms, it is the shape of a slightly compressed beach ball. The Earths equatorial radius is about 20 km longer than its polar radius. The surface area of an oblate spheroid is given by:
where r1 is the equatorial radius, r2 is the polar radius, and
.
Write a script that prompts the user to inputs the equatorial and polar radii. If the radii follow the rule r2< r1, then calculate and display both A(r1; r2) and the approximation
. Apply the script to the Earth data (r1; r2)=(6378.137,6356.752). Display 6 significant figures per answer to reveal the discrepancy.

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 Programming Questions!