diffeq2nd_planet_euler 実行例
help出力 diffeq2nd_planet_euler.py --help
Planet simulator: Solve simulataneous second order diffrential equations by Euler method
G = 6.67259e-11 Nm2/kg2
AU = 1.495979e+11 m
G1 = 1.4878039081925512e-34
Planets:
Sun
Diameter: 1390000000.0
Volume: 1.41e+27
Mass: 1.99e+30
Density: 1.41
Rotation Velocity: 0.0
Revolution Radius: 0.0
Revolution Velocity: 0.0
Mercury
Diameter: 4880000.0
Volume: 0.0
Mass: 3.3e+23
Density: 5.43
Rotation Velocity: 0.0
Revolution Radius: 57900000000.0
Revolution Velocity: 47900.0
Venus
Diameter: 12100000.0
Volume: 0.0
Mass: 4.87e+24
Density: 5.24
Rotation Velocity: 0.0
Revolution Radius: 108000000000.0
Revolution Velocity: 35000.0
Earth
Diameter: 12800000.0
Volume: 0.0
Mass: 5.97e+24
Density: 5.515
Rotation Velocity: 0.0
Revolution Radius: 150000000000.0
Revolution Velocity: 29800.0
Mars
Diameter: 6790000.0
Volume: 0.0
Mass: 6.42e+23
Density: 3.94
Rotation Velocity: 0.0
Revolution Radius: 228000000000.0
Revolution Velocity: 24100.0
Jupiter
Diameter: 143000000.0
Volume: 0.0
Mass: 1.9e+27
Density: 1.33
Rotation Velocity: 0.0
Revolution Radius: 778000000000.0
Revolution Velocity: 13100.0
Saturn
Diameter: 121000000.0
Volume: 0.0
Mass: 5.69e+26
Density: 0.69
Rotation Velocity: 0.0
Revolution Radius: 1430000000000.0
Revolution Velocity: 9670.0
Uranus
Diameter: 51100000.0
Volume: 0.0
Mass: 8.69e+25
Density: 1.29
Rotation Velocity: 0.0
Revolution Radius: 2870000000000.0
Revolution Velocity: 6800.0
Neptune
Diameter: 49600000.0
Volume: 0.0
Mass: 1.02e+26
Density: 1.64
Rotation Velocity: 0.0
Revolution Radius: 4500000000000.0
Revolution Velocity: 5480.0
Pluto
Diameter: 2310000.0
Volume: 0.0
Mass: 1.31e+22
Density: 2.03
Rotation Velocity: 0.0
Revolution Radius: 5910000000000.0
Revolution Velocity: 4670.0
Write to [diffeq2nd_Planet_Euler.csv]
t x(Sun) y(Sun) x(Mercury) y(Mercury) x(Venus) y(Venus) x(Earth) y(Earth)
0.0 0.3870 0.0000 1.0027 0.0000 5.2006 0.0000 19.1848 0.0000
100.0 -0.1053 -0.7136 -0.1298 1.029 5.147 0.7531 19.18 0.3918
200.0 0.1609 0.6154 -1.119 -0.1125 4.984 1.491 19.17 0.7834
300.0 -0.744 -0.6449 -0.1379 -1.188 4.718 2.197 19.15 1.175
400.0 0.5887 -0.8469 1.113 -0.4735 4.352 2.857 19.12 1.565
500.0 0.3874 0.7088 0.7466 0.9469 3.895 3.458 19.08 1.956
600.0 -1.094 -0.05129 -0.7265 1.015 3.357 3.986 19.04 2.345
700.0 -0.5246 -1.271 -1.297 -0.3015 2.749 4.431 18.99 2.733
800.0 0.7035 -1.128 -0.3842 -1.343 2.083 4.784 18.93 3.121
900.0 0.9923 0.3033 0.9503 -1.045 1.374 5.038 18.86 3.506
データファイル
生成された画像一覧
(画像ファイルが見つかりませんでした)