Find The Average Value Of The Function Hx