Create a single MATLAB program

  • Tells the user that this is a program which will determine the surface area andvolume of three different types of solid objects: a hemisphere, a cylinder, and arectangular 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 thevolume of.
  • Prompts the user for the type of object and then prompts the user for appropriategeometric inputs such as width, height, depth, and radius.
  • Outputs the results of calculating the surface area and the volume of the objects tothe screen

Réponses (0)

Cette question est clôturée.

Question posée :

le 17 Oct 2015

Clôturé :

le 17 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by