Elliptical orbit

[color=#0000ff][i][color=#0000ff][i][color=#999999]This activity belongs to the GeoGebra book [url=https://www.geogebra.org/m/mes4bgft]The Domain of the Time[/url].[/color][/i][/color][/i][/color][br][br]Not all orbits of artificial satellites are circular. For example, the [i]Molniya orbit[/i] is a highly eccentric ellipse (0.74) designed to cover high-latitude areas where geostationary satellites cannot reach.[br][br]Furthermore, no planetary or lunar orbit is circular. Artificial satellites often need to correct the magnitude and direction of their acceleration to maintain a circular orbit, something that celestial bodies cannot do.[br][br]Until now, we have assumed that the gravitational acceleration [b][color=#6aa84f]g[/color][/b] remains constant. However, a planet [color=#0000ff]M[/color] orbiting the Sun ([color=#e69138][color=#e69138]S[/color][/color]) does not always maintain the same distance from it, meaning it follows an elliptical orbit (although the ellipse is never perfect and varies slightly each year).[br][br]We will now refer to [b][color=#6aa84f]g[/color][/b] as the gravitational acceleration caused by the mass of the Sun. Remember that this acceleration varies with the square of the distance [i]d[/i]:[br][center][math]\left|g\right|=G\frac{m_S_{ }}{d^2}[/math][/center]where [i]G[/i] is the universal gravitational constant and [i]m[sub]S[/sub][/i] is the mass of the Sun.[br][br]Now, instead of using this formula to conveniently scale the distances, and subsequently scale the time, we will create a much more open construction that facilitates observing the essence of the motion for different initial data. That is, instead of scaling the screen to represent reality, we will imagine that reality adjusts to the dimensions of the screen. In other words, in order to facilitate visualization, we will represent only [b][i]the idea[/i][/b] of that motion here. We represent the Earth, initially, at 9 units from the Sun, with an initial acceleration |[b][color=#6aa84f]g[/color][/b]| = 1 and initial velocity |[color=#cc0000][b]v[/b][/color]| = v[sub]0​[/sub]. And we will let the slider [b]anima[/b] do its work.[br][br]The result is an elliptical trajectory (although in many cases, such as with Earth, with very little eccentricity, it appears almost identical to a circular path).[br][br]Note that now the magnitude of [b][color=#6aa84f]g[/color][/b] does not remain constant (except for v[sub]0[/sub] = 3), nor does the magnitude of [color=#cc0000][b]v[/b][/color]. Also observe that at the point in the orbit closest to the Sun ([i]perihelion[/i]), as [b][color=#6aa84f]g[/color][/b] increases, the maximum velocity [color=#cc0000][b]v[/b][/color] is reached, and the minimum at the farthest point ([i]aphelion[/i]).
[b]SCRIPT FOR SLIDER anima[/b][br][br][color=#cc0000][color=#cc0000]# Calculate the elapsed seconds dt; add one second if t1(1) < tt[/color][/color][br][color=#999999]SetValue(tt, t1(1))[br]SetValue(t1, First(GetTime(), 3))[br]SetValue(dt, (t1(1) < tt) + (t1(1) − tt)/1000)[/color][br][br][color=#cc0000]# Record the orbit time and the number of completed orbits[/color][br][color=#999999][color=#999999]SetValue[/color](reg, If(x(v) > 0 ∧ x(v + dt g) ≤ 0, Append(t, reg), reg))[br][color=#999999]SetValue[/color](orbits, If(x(v) > 0 ∧ x(v + dt g) ≤ 0, orbits + 1, orbits))[/color][br][br][color=#cc0000]# Move M[/color][br][color=#999999][color=#999999]SetValue[/color](v, v + dt g)[br][color=#999999]SetValue[/color](M, M + dt v)[br][br][color=#cc0000][color=#cc0000]# [/color]Adds the position M to the record for the polyline trace[/color][color=#999999][br][color=#999999]SetValue[/color](regM, Append(regM, M))[/color][br][br][br][br][br][color=#999999][color=#999999][color=#0000ff][color=#0000ff][color=#999999][color=#999999]Author of the activity and GeoGebra construction: [/color][/color][/color][color=#0000ff][color=#999999][color=#999999][url=https://www.geogebra.org/u/rafael]Rafael Losada[/url].[/color][/color][/color][/color][/color][/color][/color]

Information: Elliptical orbit