Problem 44943. Calculate Amount of Cake Frosting

Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you need to put frosting on (all around the sides and the top).
Return the result in output variable SA.

Solution Stats

44.05% Correct | 55.95% Incorrect
Last Solution submitted on Mar 19, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers22368

Suggested Problems

More from this Author13

Problem Tags

Community Treasure Hunt

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

Start Hunting!