, where

is the weight of a cubic unit of the earth; otherwise, the value of

is given by

times the area of the shaded triangle,

. If the dimensions are in feet, and