Im trying to find the average value of this function,

S is the temperature of a bar

there isnt any values in the question so its proving difficult.

The bar is of length h units,

Fidn the mean value of S in terms of h

My answer is

and the correct answer is

Can anybody see where i have gone wrong?

Thanks