Volume should be y = pi^2/32*(a+b)i*(b-a)^2
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
a=4; b=3;
y_correct = pi*pi*7/4;
assert(isequal(you_fcn_name(a, b),y_correct))
|
2 | Fail |
a=5; b=3;
y_correct = pi*pi*8;
assert(isequal(you_fcn_name(a, b),y_correct))
|
3 | Fail |
a=2; b=1;
y_correct = pi*pi*3/4;
assert(isequal(you_fcn_name(a, b),y_correct))
|
Extract leading non-zero digit
1205 Solvers
312 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
How long is the longest prime diagonal?
338 Solvers
Matlab Basics - y as a function of x
339 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!