Determine The Average Value Of The Function