Calculating Time Dilation
Time Dilation Calculus: Because who needs linear time flow when you can have Timey McTimeface?
// Timey McTimeface formula
// t' = t / sqrt(1 - 1/(v*c^2))
// where:
// t = time in seconds
// t' = time in timey-mctimeface units
// v = velocity of time dilation (in meters/seconds)
// c = speed of timey-mctimeface (in meters/seconds)
Example: If you want to calculate the time dilation of a photon with velocity v=3e8 m/second and the speed of time c=1e10 m/second, you would plug these values into the formula:
t' = 1 / sqrt(1 - 1/(3e8*1e10)) = 1.00000001
Whoa, that's TIMEY McTIMEFACE SQUARED!