Cody

# Problem 44060. Volume Pillar

Solution 2770978

Submitted on 3 Aug 2020
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   Fail
l = 1; ar = 2; y_correct = pi*2; assert(isequal(Pillar_Size(l,ar),y_correct))

Unrecognized function or variable 'I'. Error in Pillar_Size (line 2) y = (1/3*pi*I^2*ar)+(pi*I^2*ar); Error in Test1 (line 4) assert(isequal(Pillar_Size(l,ar),y_correct))

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

Unrecognized function or variable 'I'. Error in Pillar_Size (line 2) y = (1/3*pi*I^2*ar)+(pi*I^2*ar); Error in Test2 (line 4) assert(isequal(Pillar_Size(l,ar),y_correct))

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

Unrecognized function or variable 'I'. Error in Pillar_Size (line 2) y = (1/3*pi*I^2*ar)+(pi*I^2*ar); Error in Test3 (line 4) assert(isequal(Pillar_Size(l,ar),y_correct))