$${A = mg(h_1 - h_2)}$$