Use R to Compute Numerical Integrals