- #1
Philosophaie
- 462
- 0
I have some data about the elliptical orbits of the planets. I have a,e,i,ML,LP,N @ for a specific Julian Century, J2000. I need an equation check:
w = LP - N
EA = MA + e * sin(MA) * (1 + e * cos(MA))
x = a * (cos(EA) - e)
y = a * sin(EA) * (1 - e^2)^0.5
r = (x^2 + y^2)^0.5
v = atan2(y , x)
where
a - Semi-Major Axis
e - Eccentricity
i - Inclination
ML - Mean Anomaly
LP - Longitude of the Perihelion
N - Longitude of the Ascending Node
w - Argument of the Perihelion
EA -= Eccentric Anomaly
r - Radius of the Sun to the Planet
v - True Anomaly
w = LP - N
EA = MA + e * sin(MA) * (1 + e * cos(MA))
x = a * (cos(EA) - e)
y = a * sin(EA) * (1 - e^2)^0.5
r = (x^2 + y^2)^0.5
v = atan2(y , x)
where
a - Semi-Major Axis
e - Eccentricity
i - Inclination
ML - Mean Anomaly
LP - Longitude of the Perihelion
N - Longitude of the Ascending Node
w - Argument of the Perihelion
EA -= Eccentric Anomaly
r - Radius of the Sun to the Planet
v - True Anomaly