This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
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));
|
2 | Pass |
%%
radius= 2;
Volume_correct = 33.5103;
assert(isequal(VolumeOfSphere(radius),Volume_correct));
|
3 | Pass |
%%
radius= 3;
Volume_correct = 113.0973;
assert(isequal(VolumeOfSphere(radius),Volume_correct));
|
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
323 Solvers
519 Solvers
353 Solvers
160 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!