For this problem, you have taken x as diameter, but answer is correct when you take x as radius. So, please improve your correct answer code.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = 4*pi;
assert(isequal(your_fcn_name(x),y_correct))
y =
12.5664
|
2515 Solvers
543 Solvers
193 Solvers
Find the largest value in the 3D matrix
898 Solvers
201 Solvers