Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Welcome file

demo

import math
import numpy as np
from scipy import constants as cons

$$\large t_{' }=\frac{t^{}}{\sqrt{1-\frac{V^2}{c^2}}}$$

T=lambda v:1/np.sqrt(1-(v**2/cons.c**2))
T(0.2*cons.c)

1.0206207261596576
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.