Last active
April 10, 2022 08:03
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
10:03:23 ❯ brew install julia-nightly | |
] | |
add Plots | |
add JSON | |
include("threeBodyProb.jl") | |
main(custom=true) | |
Enter value for m1 (solar masses): | |
5.7 | |
Enter value for x1 (AU from center): | |
-4.8 | |
Enter value for y1 (AU from center): | |
12.3 | |
Enter value for vx1 (km/s): | |
1. | |
Enter value for vy1 (km/s): | |
2. | |
Enter value for m2 (solar masses): | |
3. | |
Enter value for x2 (AU from center): | |
-6 | |
Enter value for y2 (AU from center): | |
3 | |
Enter value for vx2 (km/s): | |
4 | |
Enter value for vy2 (km/s): | |
5 | |
Enter value for m3 (solar masses): | |
9 | |
Enter value for x3 (AU from center): | |
30 | |
Enter value for y3 (AU from center): | |
0 | |
Enter value for vx3 (km/s): | |
5 | |
Enter value for vy3 (km/s): | |
-5 | |
makeAnim() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment