(a) ![2.7\cdot 10^{25} kg](https://tex.z-dn.net/?f=2.7%5Ccdot%2010%5E%7B25%7D%20kg)
The acceleration due to gravity on the surface of the planet is given by
(1)
where
G is the gravitational constant
M is the mass of the planet
R is the radius of the planet
Here we know:
![g=22.4 m/s^2](https://tex.z-dn.net/?f=g%3D22.4%20m%2Fs%5E2)
is the diameter, so the radius is
![R=\frac{d}{2}=\frac{1.8\cdot 10^7 m}{2}=9\cdot 10^6 m](https://tex.z-dn.net/?f=R%3D%5Cfrac%7Bd%7D%7B2%7D%3D%5Cfrac%7B1.8%5Ccdot%2010%5E7%20m%7D%7B2%7D%3D9%5Ccdot%2010%5E6%20m)
So we can re-arrange eq.(1) to find M, the mass of the planet:
![M=\frac{gR^2}{G}=\frac{(22.4 m/s^2)(9\cdot 10^6 m)^2}{6.67\cdot 10^{-11}}=2.7\cdot 10^{25} kg](https://tex.z-dn.net/?f=M%3D%5Cfrac%7BgR%5E2%7D%7BG%7D%3D%5Cfrac%7B%2822.4%20m%2Fs%5E2%29%289%5Ccdot%2010%5E6%20m%29%5E2%7D%7B6.67%5Ccdot%2010%5E%7B-11%7D%7D%3D2.7%5Ccdot%2010%5E%7B25%7D%20kg)
(b) ![4.8\cdot 10^{31}kg](https://tex.z-dn.net/?f=4.8%5Ccdot%2010%5E%7B31%7Dkg)
The planet is orbiting the star, so the centripetal force is equal to the gravitational attraction between the planet and the star:
(1)
where
m is the mass of the planet
M is the mass of the star
v is the orbital speed of the planet
r is the radius of the orbit
The orbital speed is equal to the ratio between the circumference of the orbit and the period, T:
![v=\frac{2\pi r}{T}](https://tex.z-dn.net/?f=v%3D%5Cfrac%7B2%5Cpi%20r%7D%7BT%7D)
where
![T=402 days = 3.47\cdot 10^7 s](https://tex.z-dn.net/?f=T%3D402%20days%20%3D%203.47%5Ccdot%2010%5E7%20s)
Substituting into (1) and re-arranging the equation
![m\frac{4\pi r^2}{rT^2}=\frac{GMm}{r^2}\\\frac{4\pi r}{T^2}=\frac{GM}{r^2}\\M=\frac{4\pi r^3}{GMT^2}](https://tex.z-dn.net/?f=m%5Cfrac%7B4%5Cpi%20r%5E2%7D%7BrT%5E2%7D%3D%5Cfrac%7BGMm%7D%7Br%5E2%7D%5C%5C%5Cfrac%7B4%5Cpi%20r%7D%7BT%5E2%7D%3D%5Cfrac%7BGM%7D%7Br%5E2%7D%5C%5CM%3D%5Cfrac%7B4%5Cpi%20r%5E3%7D%7BGMT%5E2%7D)
And substituting the numbers, we find the mass of the star:
![M=\frac{4\pi^2 (4.6\cdot 10^{11} m)^3}{(6.67\cdot 10^{-11})(3.47\cdot 10^7 s)^2}=4.8\cdot 10^{31}kg](https://tex.z-dn.net/?f=M%3D%5Cfrac%7B4%5Cpi%5E2%20%284.6%5Ccdot%2010%5E%7B11%7D%20m%29%5E3%7D%7B%286.67%5Ccdot%2010%5E%7B-11%7D%29%283.47%5Ccdot%2010%5E7%20s%29%5E2%7D%3D4.8%5Ccdot%2010%5E%7B31%7Dkg)