Daniel B. answered 10/12/21
A retired computer professional to teach math, physics
Consider an arbitrary planet rotating around the Sun in a circular orbit.
Let
m be the mass of the planet,
M be the mass of the sun,
r be the radius of the planet's orbit,
T be the period, i.e., length of a year on the planet,
v be the planet's speed,
G be the gravitational constant.
I assume you are familiar with the following identities:
By definition of speed
v = 2πr/T (1)
The gravitational attraction between the Sun the planet is
F = GMm/r² (2)
The centripetal acceleration of the planet is
a = v²/r (3)
Since the gravitational force F is what is responsible for the centripetal acceleration
we can apply Newton's Second Law
F = ma (4)
Substituting (2) and (3) into (4)
GMm/r² = mv²/r (5)
Substituting (1) into (5)
GMm/r² = m4π²r²/T²r (6)
Expressing T² from (6)
T² = 4π²r³/GM (7)
Now let planet 1 be Mercury with radius r1 and period T1,
and let planet 2 be the Earth with radius r2 and period T2.
And assume that the orbits of the two planets are circular, which is approximately true.
We are given r1/r2 = 0.39 and are supposed to calculate T1/T2.
Write (7) for both planets
T1² = 4π²r1³/GM
T2² = 4π²r2³/GM
Divide the two equations
T1²/T2² = r1³/r2³
Substituting actual numbers
T1/T2 = √(0.39³) = 0.24