This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
@ Richard Zapoor : Check your solution. More test suits will make it fail.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%% Test 1
u = 3;
v= 0.05;
y_correct = 1020;
assert(isequal(your_fcn_name(u,v),y_correct));
|
2 | Pass |
%% Test 2
u=30;
v = 0.01;
y_correct = [5100 4800];
assert(isequal(your_fcn_name(u,v),y_correct));
|
3 | Fail |
%% Test 3
u=3;
v = 0.03;
y_correct = 1700;
assert(isequal(your_fcn_name(u,v),y_correct));
Error: Assertion failed.
|
952 Solvers
135 Solvers
163 Solvers
483 Solvers
2986 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!