solve-quadratic-equation
v0.1.0
Published
Solve quadratic equations using a numerical stable method
Readme
solve-quadratic-equation.js
Usage
var solveQuadraticEquation = require('solve-quadratic-equation');
var roots = solveQuadraticEquation(1, -5, 6);
// roots = [2, 3];See the comment in index.js for detail.
Develop
Setup
npm install
npm install -g mocha
npm install -g webpack
npm install -g gulpRun tests in a browser
gulpor
gulp browser-testRun tests in console
gulp testLicense
MIT
