Write as a Function of h A=1/2h(a+b)