fwiw the only thing you need to do to be one of the best references on numerical integration in js on the net is translate the code to javascript...
fwiw the only thing you need to do to be one of the best references on numerical integration in js on the net is translate the code to javascript...