Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
p = [1 0 -8 -7 5];
x = [ 5 7 9 ];
y_correct = [ 395 1965 5855];
assert(isequal(polynomial(p,x),y_correct))
y =
395 1965 5855
|
2 | Pass |
p = [1 0 -10 0 0 0 11 -50];
x = [3 7 4 5];
y_correct = [-260 655500 6138 46880]
assert(isequal(polynomial(p,x),y_correct))
y_correct =
-260 655500 6138 46880
y =
-260 655500 6138 46880
|
434 Solvers
Return the first and last character of a string
1658 Solvers
Output any real number that is neither positive nor negative
250 Solvers
Calculate distance travelled when given radius and rotations
132 Solvers
1078 Solvers