https://1library.net/document/y4dgpd9y-chebfun-and-numerical-quadrature.html