solve-quadratic-equation
v0.1.0
Published
Solve quadratic equations using a numerical stable method
Downloads
10
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 gulp
Run tests in a browser
gulp
or
gulp browser-test
Run tests in console
gulp test
License
MIT