This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
radius= 1;
Volume_correct = 4.1888;
assert(isequal(VolumeOfSphere(radius),Volume_correct));
Volume =
4.1888
|
2 | Pass |
%%
radius= 2;
Volume_correct = 33.5103;
assert(isequal(VolumeOfSphere(radius),Volume_correct));
Volume =
33.5103
|
3 | Pass |
%%
radius= 3;
Volume_correct = 113.0973;
assert(isequal(VolumeOfSphere(radius),Volume_correct));
Volume =
113.0973
|
27983 Solvers
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
Reverse the elements of an array
687 Solvers
286 Solvers
145 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!