Answer:
Cosmic ray's frame of reference: 99,875 years
Stationary frame of reference: 501,891 years
Explanation:
First of all, we convert the distance from parsec into metres:
[tex]d=30,000 pc =9.26\cdot 10^{20} m[/tex]
The speed of the cosmic ray is
[tex]v=0.98 c[/tex]
where
[tex]c=3.0 \cdot 10^8 m/s[/tex] is the speed of light. Substituting,
[tex]v=(0.98)(3.0\cdot 10^8)=2.94\cdot 10^8 m/s[/tex]
And so, the time taken to complete the journey in the cosmic's ray frame of reference (called proper time) is:
[tex]T_0 = \frac{d}{v}=\frac{9.26\cdot 10^{20}}{2.94\cdot 10^8}=3.15\cdot 10^{12} s[/tex]
Converting into years,
[tex]T_0 = \frac{3.15\cdot 10^{12}}{(365\cdot 24\cdot 60 \cdot 60}=99,875 years[/tex]
Instead, the time elapsed in the stationary frame of reference is given by Lorentz transformation:
[tex]T=\frac{T_0}{\sqrt{1-(\frac{v}{c^2})^2}}[/tex]
And substituting v = 0.98c, we find:
[tex]T=\frac{99,875}{\sqrt{1-(\frac{0.98c}{c})^2}}=501,891 years[/tex]