This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 1;
b = 2;
c = 1;
y_correct = -1;
y_correct = -1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
%%
a = 9;
b = 42;
c = 5;
y_correct = -0.22005;
y_correct = -8.17995;
assert(isequal(roots(x),y_correct))
|
7273 Solvers
Back to basics 19 - character types
189 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
209 Solvers
Return the first and last character of a string
1662 Solvers
Relative ratio of "1" in binary number
152 Solvers