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))
y =
6.2832
|
2 | Pass |
l = 12;
ar = 25;
y_correct = pi*3600;
assert(isequal(Pillar_Size(l,ar),y_correct))
y =
1.1310e+04
|
3 | Pass |
l = 6;
ar = 2;
y_correct = pi*72;
assert(isequal(Pillar_Size(l,ar),y_correct))
y =
226.1947
|
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
412 Solvers
213 Solvers
1097 Solvers
176 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!