7-12
$${W_g = mgd \cos \phi}$$