Cody

Problem 44060. Volume Pillar

Solution 1942038

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

Test Suite

Test Status Code Input and Output
1   Pass
l = 1; ar = 2; y_correct = pi*2; assert(isequal(Pillar_Size(l,ar),y_correct))

2   Pass
l = 12; ar = 25; y_correct = pi*3600; assert(isequal(Pillar_Size(l,ar),y_correct))

3   Pass
l = 6; ar = 2; y_correct = pi*72; assert(isequal(Pillar_Size(l,ar),y_correct))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!