Relativity Model |
Here is a model which shows simple relativistic effects. Note that momentum is a stock and force is a flow. The graphs are for forces of 300 N, 300,000 N and 30,000,000 N.
Momentum(t) = Momentum(t - dt) + (Force) * dt INIT Momentum = 0 Force = 3e7 Velocity(t) = Velocity(t - dt) + (Acceleration) * dt INIT Velocity = 0 Acceleration = Force/Mass Mass = Rest_Mass/SQRT(1-(Velocity^2/9e16)) Rest_Mass = 1 Time SpecsRange: 0 - 15, dT = 0.25, Integration Method = Runge-Kutta 4 |
|