Rule of Trapezium
Type function:
The number of points:
The initial point:
The final point: