Skip to content

TikZ code for plotting the trajectories of the Kepler problem

Notifications You must be signed in to change notification settings

alves-nickolas/Kepler-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Author: Níckolas de Aguiar Alves Language: pdfLaTeX License: CC-BY 4.0

Kepler Problem Trajectories

By Níckolas de Aguiar Alves

This is a simple code in Tikz intended to draw the Kepler problem trajectories for a pair of masses. The input parameters are the values of the masses, the angular momentum, and the impact parameter. The plot is precise, but the distances are not because the code neglects the role of Newton's constant G, which ends up being equivalent to a scaling in the radius. The code can be used to plot trajectories involving negative masses, as long as the two masses are not opposite (same magnitude with different signs).

This code was inspired by the work of Shatskiy, Novikov, and Kardashev1 and was developed while I was working on the problem of stability of negative mass stars in general relativity2.

Footnotes

  1. Shatskiy, A. A., I. D. Novikov, and N. S. Kardashev, "The Kepler Problem and Collisions of Negative Masses", Physics-Uspekhi 54, 381 (2011).

  2. Aguiar Alves, Níckolas de, André G. S. Landulfo, and Bruno Arderucio Costa. “Positive Mass in General Relativity Without Energy Conditions,” 2024. Pre-published. arXiv: 2408.00154 [gr-qc]. Click here for a short summary.

About

TikZ code for plotting the trajectories of the Kepler problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages