Question: [ 1 5 p t s ] A sphere has a radius R with units of cm . A rectangular prism has sides of ,

[15pts]A sphere has a radius R with units of cm . A rectangular prism has sides of ,2, and 4. Write a MATLAB script that asks for three different values for the radius. The MATLAB script should calculate determine of a prism that has the same volume as the sphere for the three different radius values. In addition, the script should determine of a prism that has the same surface area as the sphere. Format the display in the command window such that it states the value of for the radius R.
Vsphere=43r3,Asphere=4r2
Generate a graph that plots vs R, for the three data points. Label the axis appropriately. Title the graph. Name your script, Lastname1.m.
[ 1 5 p t s ] A sphere has a radius R with units

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!