dev-serum
Search...
Ctrl
K
Data Structures & Algorithms
Coding Challenges
Codewars
8Kyu
Coefficients of the Quadratic Equation
Previous
Count by X
Next
Dollars and Cents
Last updated
4 years ago
Was this helpful?
Solution
JavaScript
Copy
const quadratic = (x1, x2) => [1, -x1 + -x2, -x1 * -x2];
Coefficients of the Quadratic Equation
Codewars