Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 6;
y_correct = [1,0,0,0,0,0,0;1,1,0,0,0,0,0;2,4,1,0,0,0,0;6,18,9,1,0,0,0;24,96,72,16,1,0,0;120,600,600,200,25,1,0;720,4320,5400,2400,450,36,1];
assert(isequal(laguerre(x),y_correct))
|
2 | Pass |
x = 1;
y_correct = [1,0;1,1];
assert(isequal(laguerre(x),y_correct))
|
3 | Pass |
x = 3;
y_correct = [1,0,0,0;1,1,0,0;2,4,1,0;6,18,9,1];
assert(isequal(laguerre(x),y_correct))
|
4 | Pass |
x = 10;
y_correct = [1,0,0,0,0,0,0,0,0,0,0;1,1,0,0,0,0,0,0,0,0,0;2,4,1,0,0,0,0,0,0,0,0;6,18,9,1,0,0,0,0,0,0,0;24,96,72,16,1,0,0,0,0,0,0;120,600,600,200,25,1,0,0,0,0,0;720,4320,5400,2400,450,36,1,0,0,0,0;5040,35280,52920,29400,7350,882,49,1,0,0,0;40320,322560,564480,376320,117600,18816,1568,64,1,0,0;362880,3265920,6531840,5080320,1905120,381024,42336,2592,81,1,0;3628800,36288000,81648000,72576000,31752000,7620480,1058400,86400,4050,100,1];
assert(isequal(laguerre(x),y_correct))
|
Is my wife right? Now with even more wrong husband
1145 Solvers
158 Solvers
345 Solvers
Find elements of set A those are not in set B
40 Solvers
25 Solvers