Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a=[1 -1 2];
b=[2 4 1];
y_correct = 0;
assert(isequal(PolSol(a,b),y_correct))
|
2 | Pass |
a=[ 5 2 0 5 3 0];
b=[ 3 2 5 1 0 2];
y_correct = 24;
assert(isequal(PolSol(a,b),y_correct))
|
Is my wife right? Now with even more wrong husband
1145 Solvers
369 Solvers
194 Solvers
Sum positive elements of matrix.
48 Solvers
Get derivarive of polynomial given as vector array.
33 Solvers