Created
October 21, 2020 20:48
-
-
Save ChristopherRabotin/932dc98646444adcff0f6376fe44afa7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Input: | |
┌ ┐ | |
│ -2436.45 │ | |
│ -2436.45 │ | |
│ 6891.037 │ | |
│ 5.088611 │ | |
│ -5.088611 │ | |
│ 0 │ | |
└ ┘ | |
Solution: | |
┌ ┐ | |
│ -3612.685470832933 │ | |
│ 5957.3197466730535 │ | |
│ -3315.676813864786 │ | |
│ -4.431195559739658 │ | |
│ 0.4433699751718181 │ | |
│ 5.639404390158586 │ | |
└ ┘ |
Author
ChristopherRabotin
commented
Oct 21, 2020
┌ ┐
│ 333321.004516 │
│ -76134.198887 │
│ -20873.831939 │
│ 0.257153712 │
│ 0.930284066 │
│ 0.346177 │
└ ┘
┌ ┐
│ 337512.29851762095 │
│ -59276.357469905655 │
│ -14703.274944954277 │
│ 0.2084621980699076 │
│ 0.9422602488365251 │
│ 0.3392490146553419 │
└ ┘
With 11.0 seconds
┌ ┐
│ 337512.2985169488 │
│ -59276.35747150204 │
│ -14703.274945368708 │
│ 0.20846219799296656 │
│ 0.9422602486590711 │
│ 0.3392490146124785 │
└ ┘
After moving the two body into the PointMasses
structure:
┌ ┐
│ 337512.2985169488 │
│ -59276.35747150204 │
│ -14703.274945368708 │
│ 0.20846219799296653 │
│ 0.9422602486590711 │
│ 0.3392490146124785 │
└ ┘
Two body only:
┌ ┐
│ 337412.509105624 │
│ -59275.88593630129 │
│ -14612.486582730338 │
│ 0.19736681956315077 │
│ 0.9423548610484891 │
│ 0.34934042326057324 │
└ ┘
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment