Changes between Version 15 and Version 16 of u/erica/UniformCollapse
- Timestamp:
- 06/29/15 13:59:53 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
u/erica/UniformCollapse
v15 v16 18 18 '''Position equation''' 19 19 20 Start by describing this so to exaplain the numerical solution but, 20 Integrating the above equation twice with a change of variables yields the equation of motion: 21 21 22 [[latex($\xi + \frac{1}{2} \sin(2\xi) = kt$)]] 23 24 where 25 26 [[latex($k=\sqrt{\frac{8 \pi}{3} G \rho_0}$)]] 27 28 and 29 30 [[latex($\frac{r}{r_0}=\cos^2(\xi)$)]] 31 32 Now, that equation of motion is a real hassle to deal with, so numerical solution is necessary. This, we can use mathematica for to find the roots of this equation in terms of [[latex($\xi,t$)]]. Once we have [[latex($\xi,t$)]] pairs, we can take the [[latex($\cos^2(\xi)*r_0$)]] to get a list of values for r for a list of discrete t. 33 34 [[latex($\boxed{r(t) = r_0 \cos^2(\xi(t))}$)]] 22 35 23 36 '''Velocity equation''' 24 37 25 [[latex($\ frac{dr}{dt} = -\sqrt{\frac{8\pi}{3} G \rho_0 r_0^2(\frac{r_0}{r}-1)}$)]]38 [[latex($\boxed{\frac{dr}{dt} = -\sqrt{\frac{8\pi}{3} G \rho_0 r_0^2(\frac{r_0}{r(t)}-1)}}$)]] 26 39 27 - describes the outer velocity of a sphere that contains mass M_r as a function of r = r(t)40 - describes the outer velocity of a sphere that contains mass M_r as a function of r(t), where r(t) is a list of discrete radii as described above 28 41 - at radius [[latex($r = r_0$)]], [[latex($\frac{dr} {dt} = 0$)]] by construction 29 42 - if r were decreasing linearly over time, then plotting v over time on a linear scale would show that v decreases as the square root. However, a look at r vs. t shows that r does not decrease linearly, so v does not strictly go at the negative square root.