This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
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))
|
Select every other element of a vector
20350 Solvers
Remove the two elements next to NaN value
411 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
511 Solvers
452 Solvers
5465 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!