quadratic
v1.0.3
Published
An example of a quadratic root solver function with callback.
Downloads
3
Readme
Quadratic root solver
An example of a quadratic root solver function with callback.
Installing the package locally
npm install quadratic
Example of running the package locally
create a test file for example: test.js
var solve = require('quadratic');
var result = solve.quadraticSolve(1,4,1); // result will contain 2 functions properties
console.log("Roots are: "+ result.root1() + " " + result.root2());