## How much track - Tesla's rocket car - Simulate demo - Don't crash --- ### Textbook as markdown: ### [https://nlpia.org/fall26/tlacs/](./tlacs/) --- ```python ``` --- ```python d = 0 v = 0 n = 1_000_000 dt = 1.0 / n # time step a = 9.8 # 1 G for i in range(n): v = v + a * dt d += 0.5 * g * dt**2 + v * t ``` note: - simulate accelarating car - car pushes you back into your seat with 1 G - how long to get to mars