Two different planets have the same density but different radii. The acceleration due to gravity (g) on the surface of the planets is dependent on their radius (r) as:
A) Directly proportional to the square of the radius.
B) Inversely proportional to the square of the radius.
C) Proportional to the cube of the radius.
D) Independent of the radius.