Set tf to be the time at which the spacecraft catches up with the projectile. The total distance traveled by the spaceship will be:
The total distance traveled
by the projectile will be:
x2(tf ) = vtf .
When the spaceship catches up with the projectile, the distances are the same, and we have:
vtf = 1 2 at2f .
Solving this for tf we get:
So, about 194 years! The total distance traveled in that time will be:
vtf ≈ 1.837 × 1017m.
This is about 19.4 light years.