Introduction Today, I will begin a series of posts on numerical integration, which has a wide range of applications in many fields, including statistics. I will introduce with trapezoidal integration by discussing its conceptual foundations, write my own R function to implement trapezoidal integration, and use it to check that the Beta(2, 5) probability density