The formula for the force between two objects is F = GMm/ r^2, where M and m are the masses of the two objects, G is a constant, and r is the distance between them. Solve the formula for M.

To solve the formula for M, we need to isolate M on one side of the equation.

Starting with the given formula: F = GMm/ r^2,
We can rearrange the terms to isolate M:
F = GMm/ r^2
GM = Fr^2
M = Fr^2 / G

Therefore, the formula for M is M = Fr^2 / G