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
Solution Comments
Show comments
Loading...
Problem Recent Solvers54
Suggested Problems
-
1072 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
401 Solvers
-
Rounding off numbers to n decimals
5753 Solvers
-
113 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!
Additional test cases have been added.