Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y = 4*pi()/3;
z = 4*pi();
[a,b] = sphere_calc(x);
assert(isequal(a,y)&isequal(b,z))
v =
4.1888
|
2 | Pass |
x = 4;
y = 256*pi()/3;
z = 64*pi();
[a,b] = sphere_calc(x);
assert(isequal(a,y)&isequal(b,z))
v =
268.0826
|
620 Solvers
641 Solvers
505 Solvers
292 Solvers
find the surface area of a cube
336 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!