Question: Part 1. Create the flow chart and a single MATLAB script that: Tells the user that this is a program which will determine the surface
Part 1. Create the flow chart and a single MATLAB script that: Tells the user that this is a program which will determine the surface area and volume of three different types of solid objects: a hemisphere, a cylinder, and a rectangular box (assume the box can have a different width, depth and height).
Asks the user for how many objects they want to find the surface area and the volume.
Prompts the user for the type of object and then prompts the user for appropriate geometric inputs such as width, height, depth, and radius.
Outputs the results of calculating the surface area and the volume of the objects to the screen.
Informs the user when it has completed the requested number of calculations, and asks the user if they would like to run the program again.
Note: assume the cylinder is a solid right circular cylinder, and include the surface area of the bottom of the hemisphere.
Sample run: 3 objects, hemisphere, cylinder and box. Parameters:
HemisphereRadius = 5cm
Cylinder Radius = 5cm, height = 5cm
Boxlength = 2cm, width = 3cm, depth = 5cm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
