Cody

Solution 1919284

Submitted on 2 Sep 2019 by Gergely Patay
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
r = 3; h = 2; y_correct = 65.9734; assert(abs(func_frosting(r,h) - y_correct) < 1e-5)

ans = 65.9734

2   Pass
r = 0.5; h = 0.25; y_correct = 1.5708; assert(abs(func_frosting(r,h) - y_correct) < 1e-5)

ans = 1.5708

Suggested Problems

More from this Author5