Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
r = 3;
h = 2;
y_correct = 65.9734;
assert(abs(func_frosting(r,h) - y_correct) < 1e-4)
ans =
65.9734
|
2 | Pass |
r = 0.5;
h = 0.25;
y_correct = 1.5708;
assert(abs(func_frosting(r,h) - y_correct) < 1e-4)
ans =
1.5708
|
1787 Solvers
960 Solvers
Program an exclusive OR operation with logical operators
597 Solvers
Given a square and a circle, please decide whether the square covers more area.
146 Solvers
573 Solvers