Calculates the mean value of a function within an interval.
The function
The lower bound
The upper bound
Calculates the mean value of a function within an interval.