Observe the graph :
There are intervals in the function.
Substitute , and in the above formula.
Simpsons Rule :.
Find average temparature.
Average temaparature is .