Solve for h A=1/2h(b+B)