Skip to content

A simulation of the orbit of the earth for someone.

License

Notifications You must be signed in to change notification settings

ServerBP/Y_EE_Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Y_EE_Sim

A simulation of the orbit of the earth for someone.

Install matplotlib and numpy along with python3 Run the files using cd and "python3 filename.py"

  1. Sinusoidal equation: distance(t) = -2.51e+06 * sin(1.70e-02 * t + 1.60e+00) + 1.50e+08 (km)
  2. Keep in mind that the lang_revised versions use time in seconds. the day_revised will return a function that inputs days

How to use: (On mac)

  1. Install python and pip (link here: https://www.python.org/downloads/release/python-3123/)
  2. In the terminal after installation run both "python3 --version" and "pip3 --version" and make sure both return a version number
  3. Run the following: "pip3 install matplotlib numpy"
  4. Sudo into the downloads folder (run: "cd Downloads")
  5. Run the desired script (use: "python3 filename.py", change the filename field to the name of the downloaded file)

About

A simulation of the orbit of the earth for someone.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages