.
The integral of f(x) over the interval [3,6] is equal to 50*3 = 150.
Notice: The average value of a function f(x) over an interval [a,b] is, by the definition, the value of the integral
of f(x) over the interval [a,b] divided by the length of this interval (b-a).