Hello Mahmoud et ALL
Have you ever wondered where the JWST James West Space Telescope is ?
Why it was placed at that particular point is space
Lagrange Points Calculator can figure that out.
Attached is the OrbitalMechanic-Zipped.zip
It calculates the Lagrange Points L1-L5 from the Sun to the various Planets,
and also between the Earth to the Moon.
At these points, Gravity is calculated to be 0-Zero, because of the Gravity Forces pulling in different directions and off setting the Centrifugal force of the object's orbit
You can read the "Lagrange.pdf" for the math detail if it is of interest to you.
Of particular interest is the placement of the JWST - James West Space Telescope.
It is the L2 point as should on the Image in the capture
L2: point is 1,510,945 km from the Earth, away from the Sun
The program made heavy use of the "^^" Operator that was recently developed
It is intuitive and easy to use, makes the code easier to read and visualize.
It can do Exponents, Powers and Any Root, integer and decimal.
No need for calls to sqrt() or crbt() or pow() or exp() functions ... etc
Hopefully it should be added to Ring as a Math Operator
(Python, Fortran, Visual Basic, MathLab etc .. have it as a math operator, not a function)
The attached Ring-ExpLog^^.zip has all the modified files
// Pre-Requisite: ^^ Operator -- Can do Exponents, Powers, Roots
// Example A = 3^^4 => 81.00
// B = 256^^(1/4) => 4
// C = 3.4^^4.5 => 246.41
// D = 256^^(1/3) => 6.35
// E = 129.6^^(1/5) => 2.65
// F = 5.9736*(10^^6) => 5973600.00
// G = 7.3476*(10^^(-5)) => 0.0000734760