The Lorentz Factor
The Lorentz Factor
Special relativity rests on two postulates: the laws of physics are the same in all inertial frames, and the speed of light m/s is the same for all observers. These innocent-sounding rules force us to abandon absolute time and space.
The quantity that appears in every relativistic formula is the Lorentz factor . It is built from the beta parameter , the fraction of the speed of light:
Behaviour
At everyday speeds and all relativistic effects are negligible. As , diverges, meaning it takes infinite energy to reach light speed. The factor will reappear in time dilation, length contraction, and relativistic momentum and energy.
Your Task
Implement lorentz_factor(v) that returns for a velocity in m/s, and beta(v) that returns . Use m/s. Both constants must be defined inside each function.