Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 25;
y_correct = [1 4 9 16 25];
assert(isequal(prntseq(x),y_correct))
ans =
1 4 9 16 25
|
2 | Pass |
x = 100;
y_correct = [1 4 9 16 25 36 49 64 81 100];
assert(isequal(prntseq(x),y_correct))
ans =
1 4 9 16 25 36 49 64 81 100
|
3 | Pass |
x = 9;
y_correct = [1 4 9];
assert(isequal(prntseq(x),y_correct))
ans =
1 4 9
|
4 | Pass |
x = 36;
y_correct = [1 4 9 16 25 36];
assert(isequal(prntseq(x),y_correct))
ans =
1 4 9 16 25 36
|
5705 Solvers
535 Solvers
Let's see how peculiar we can get
129 Solvers
Matlab Basics - y as a function of x
242 Solvers
364 Solvers