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;
circumference_correct = l * pi * 2;
assert(isequal(radius(l),circumference_correct))
circumference =
6.2832
|
2 | Pass |
l = 2;
circumference_correct = 2 * pi * 2;
assert(isequal(radius(l),circumference_correct))
circumference =
12.5664
|
3 | Pass |
l = 3;
circumference_correct = 3 * pi * 2;
assert(isequal(radius(l),circumference_correct))
circumference =
18.8496
|
2261 Solvers
323 Solvers
construct matrix with identical rows
168 Solvers
124 Solvers
Write a code that will follow the equation y = x * (x + x) * x.
212 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!