Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a=10;
b=2.5e23;
ref = (sqrt(a)+b^(1/21))^pi;
user = MyFunc();
assert(isequal(user,ref))
y =
6.2696e+03
|
2 | Pass |
%%
[y a b] = MyFunc();
assert(a==10);
y =
6.2696e+03
|
3 | Pass |
%%
[y a b] = MyFunc();
assert(b==2.5e23);
y =
6.2696e+03
|
19337 Solvers
352 Solvers
465 Solvers
993 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!