quad-solve
v1.0.7
Published
A quadratic function solver, provided with inputs for the A, B, and C values in a standard form equation Ax^2 + Bx + C = 0
Downloads
2
Readme
Quadsolve
A standard form quadratic function solver node package available through the npm registry at quad-solve
Installation
To use it, simply install the node package through the npm installer into your project's node modules using
$ npm install quadsolver
The function takes in 3 parameters to represent the coefficients in a standard form equation Ax^2 + Bx + C. It will then tell you how many real roots exist, as well as the x coordinates of the roots
An example function call
quadsolve(1, 0, -4)