B10 - numerical integration
discrete riemann integral
- an riemann integral can be numerically represented as:
-
the local error
, and the global error -
the trapezoidal integration averages the right and the left-sided values
-
so, the local error
, and the global error
simpson's rule
- considering three datapoints:
- according to simpson's rule:
- here, the local error
, and the global error