$${m = \frac{P}{g}}$$