$${A = (F-mg)(h-h_0)}$$