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 Solvers53
Suggested Problems
-
Return the largest number that is adjacent to a zero
5524 Solvers
-
The Goldbach Conjecture, Part 2
2416 Solvers
-
16641 Solvers
-
Change the sign of even index entries of the reversed vector
648 Solvers
-
Returning a "greater than" vector
276 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.