

A body gets stuck to the surface of a star if the inward gravitational force is greater than the outward centrifugal force caused by the rotation of the star.
Gravitational force, fg = - GMm / R2
Where,
M = Mass of the star = 2.5 × 2 × 1030 = 5 × 1030 kg
m = Mass of the body
R = Radius of the star = 12 km = 1.2 ×104 m
∴ fg = 6.67 × 10-11 × 5 × 1030 × m / (1.2 × 104)2 = 2.31 × 1011 m N
Centrifugal force, fc = mrω2
ω = Angular speed = 2πν
ν = Angular frequency = 1.2 rev s–1
fc = mR (2πν)2
= m × (1.2 ×104) × 4 × (3.14)2 × (1.2)2 = 1.7 ×105m N
Since fg > fc, the body will remain stuck to the surface of the star.
