what is the formula A=1/2(b1 + b2) - h