結果 : average value of a function using double integrals