https://www.alfreed-ph.com/2019/02/Integration-using-numerical-methods-pdf.html