Read The Average Value of a Function