Integration Methods
With this tutorial we analyse various implementations of numerical integration mechanisms. This tutorial only works on one-dimensional files but the dimensional dependence is only present in some distinct points.
Tasks
- L1: Assign a function
on all vertices. This function is used as integrand. - L1: Approximate the integral by using the



Hints
- Trapezoidal rule:

- A second testfile is located in the lesson folder. Create a few different testfiles in order to see the effect
More Information



rectangular rule:
middle point rule:
trapezoid rule:
simpson rule:
- Trapezoidal rule: