import { default } from "https://deno.land/x/simplestatistics@v7.8.3/src/bisect.js";
Bisection method is a root-finding method that repeatedly bisects an interval to find the root.
This function returns a numerical approximation to the exact value.
Examples
bisect(Math.cos,0,4,100,0.003); // => 1.572265625
bisect(Math.cos,0,4,100,0.003); // => 1.572265625