Problem 44618. surface areas of a cylinder
There are 3 inputs: option, radius and height. If option= '1', compute the lateral surface area of the cylinder, for option 2 calculate the total surface area of the cylinder. For any other option, compute the total area of both flat sides of the cylinder.
Solution Stats
Problem Comments
-
1 Comment
goc3
on 16 Jul 2018
Additional test cases have been added.
Solution Comments
Show commentsProblem Recent Solvers49
Suggested Problems
-
Determine the number of odd integers in a vector
731 Solvers
-
Try 1.5.4: Celsius to Fahrenheit
812 Solvers
-
Calculate distance travelled when given radius and rotations
223 Solvers
-
Add a row of zeros on top of a matrix
250 Solvers
-
Convert from Fahrenheit to Celsius
23820 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!