結果 : average value of a continuous function in an interval