A simple illustration of the trapezoid rule for definite integration, with code executed through the icon on the left side of the image.