You will write three functions about moving lengths and moving clocks. Lengths are in metre, times in nanoseconds, and c = 0.3 metre per nanosecond.
The idea. A body of proper length moving along its length at is long. Two clocks set together at its two ends are seen with the front clock lagging by .
Your tasks.
contracted, return the length measured when the body moves.proper_length, return the proper length of a body that is measured to be length metres long at the speed beta.clock_lag, return the lag of the front clock in nanoseconds.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…