Approximating Area Under a Curve