https://www.bragitoff.com/2015/08/c-program-of-simpsons-38th-rule-for-the-evaluation-of-definite-integrals/output_simpson38/
output_simpson38