Finding Average Value Of Function On Interval