Calculate Amount of Cake Frosting - MATLAB Cody - MATLAB Central

Problem 44943. Calculate Amount of Cake Frosting

Difficulty:Rate
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

43.92% Correct | 56.08% Incorrect
Last Solution submitted on Mar 19, 2025

Problem Comments

Solution Comments

Show comments

Group

Programování - Cody Image
Programování - Cody
  • 12 Problems
  • 466 Finishers

Problem Recent Solvers26129

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page