Average Value Of A Function Integral