Concept Flow - Trapezoidal rule (trapezoid)
Start with data points x and y
Calculate differences between x points (dx)
Calculate average of adjacent y values
Multiply dx by average y values
Sum all these products
Result: Approximate integral using trapezoidal rule
The trapezoidal rule approximates the area under a curve by summing trapezoids formed between data points.