結果 : average of a function using integral '