Answer:
51.96 years
2) 30 million of years
Explanation:
First we must know the travel time of the ship seen from the earth. The spaceship travels at half the speed of light, this means that the amount of time the spacecraft must spend to travel the same distance is double compared to the light, that is 60 years.
Now due to the speed of the ship, we must take into account relativistic effects, such as time dilation, this is given by:
Where t is the time measured in the ship, t' is the time measured in the earth, inertially moving with velocity v.
Rewriting for t:
This is the amount of time it would take you reach the Whirlpool galaxy in the spaceship.
2) a light year is a measure of distance, which indicates the kilometers that light travels in a year. Thus, the light emitted by Whirlpool galaxy takes 30 million of years reaches our planet.