Question: matlab way a paper cup shaped as a frustum of...
Question details
MATLAB WAY
A paper cup shaped as a frustum of cone with π 2=1.4π 1 is designed to have a volume of 25 ππ3. Determine π 1, π 2 and the surface area, S, of the paper for cups with a height, h, of 10 ππ. The volume of the cup, π, and the surface area of the paper are given by:

π = 1 πh(π 2 + π 2 + π π )31212
π = π(π + π ) β(π β π )2 + h2 + ππ 21221 1
The program should ask the user to input the value for the height and display the result in the following format (two fprintf statements are needed, with a line break):
The frustum of the cone with volume XXXX cubic centimeters
Has radii values of R1 and R2 equal to XXX.XX and XXX.XX, respectively. Also, the surface area is XXX squared centimeters.