A spaceship of mass m is located between two planets of masses M1 and M2; the distance between the two planets is L. Assume that L is much larger that the radius of either planet. What is the position of the spacecraft (given as a function of L, M1, and M2) if the net force on the spacecraft is zero?

GM1/r^2=GM2/(L-r)^2 solve for r, which is the distance from the center of M1

I tried that... I get L/(L+sqrt(M2-M1)) but that's not it...

recheck your algebra, dimensional analysis shows it is impossible.

To determine the position of the spacecraft when the net force on it is zero, we need to consider the gravitational forces acting on it from both planets.

The force of gravity between two objects is given by the equation:

F = (G * m1 * m2) / r^2

Where:
- F is the force of gravity between the two objects.
- G is the gravitational constant (approximately 6.67430 × 10^-11 m^3 kg^-1 s^-2).
- m1 and m2 are the masses of the two objects.
- r is the distance between the centers of the two objects.

In this case, the net force on the spacecraft is zero, so the gravitational forces from the two planets must balance each other.

Let's consider the gravitational force from the first planet, M1, acting on the spacecraft. The distance between the spacecraft and the first planet is L/2. So the force of gravity from M1 is:

F1 = (G * M1 * m) / (L/2)^2

Similarly, the gravitational force from the second planet, M2, is:

F2 = (G * M2 * m) / (L/2)^2

Since the net force on the spacecraft is zero, the magnitudes of the two forces must be equal:

F1 = F2

Now we can set up the equation and solve for the position of the spacecraft, x, in terms of the given variables:

(G * M1 * m) / (L/2)^2 = (G * M2 * m) / (L/2)^2

Simplifying the equation, we find:

M1 / (L/2)^2 = M2 / (L/2)^2

Cross-multiplying:

M1 = M2

Therefore, for the net force on the spacecraft to be zero, the masses of the two planets must be equal.

In conclusion, when the net force on the spacecraft is zero, the position of the spacecraft, x, is at the midpoint between the two planets.