

-----------------------------------

nobody

24 Feb 2013 20:13



-----------------------------------

Nu toti programatorii sunt astronomi. Iar reciproca e valabila  :wink:

Poate confuzia vine din definita nestiintifica:
Definition of RADIUS VECTOR
1 a : the line segment or its length from a fixed point to a variable point
   b : the linear polar coordinate of a variable point
2 : a straight line joining the center of an attracting body (as the sun) with that of a body (as a planet) in orbit around it 

Desi matematic vorbind:
In geometry, a position or position vector, also known as location vector or radius vector, is a Euclidean vector which represents the position of a point P in space in relation to an arbitrary reference origin O. Usually denoted s or r, it corresponds to the displacement from O to P

Ce returneaza functia este: return a * ( 1.0 - e * cos (ln_deg_to_rad (E)));

Adica exact:
Thus, the radius (distance from the focus to point P) is related to the eccentric anomaly by the formula 
r = a ( 1 - e cos E) . http://en.wikipedia.org/wiki/Eccentric_anomaly#Radius_and_eccentric_anomaly

