This code simulates a point projectile moving in a fixed, spherical potential.
This program runs in Jupyter notebook. In order to get the software, please follow the instructions on their website, http://jupyter.org/.
Specifically, this program uses Anaconda3. Once installed, this notebook may be forked for personal use. Programs from the individual files can be imported into other projects, or space in the sheets themselves may be used to run the calculations.
All imports are part of the standard Jupyter installation, and have been included as an import block at the top of the notebook. Note, it imports the packages with prefixes (such as importing the numpy library as "np").
After the main code definition, there are cells with examples of utilization. Either replace these cells with your own desired parameters, or create new cells below. Note that previous cells must be run in order for the functions to work. As an additional note, the k-value of the Heaviside must be manually adjusted near the top of the code.
My Github Account: https://github.com/Ashardalon125
Numpy Documentation: https://docs.scipy.org/doc/
matplotlib Documentation: https://matplotlib.org/contents.html
Anaconda Documentation: https://docs.anaconda.com/