Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 0;
y_correct = 0;
assert(isequal(area_square(x),y_correct))
b =
0
|
2 | Fail |
x = 1;
y_correct = 1;
assert(isequal(area_square(x),y_correct))
b =
6
|
3 | Fail |
x = 11;
y_correct = 121;
assert(isequal(area_square(x),y_correct))
b =
726
|
4 | Fail |
x = 101;
y_correct = 10201;
assert(isequal(area_square(x),y_correct))
b =
61206
|
289 Solvers
253 Solvers
372 Solvers
Matlab Basics - y as a function of x
339 Solvers
1221 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!