Skip to content

Instantly share code, notes, and snippets.

@KSAMissionCtrl
Created November 23, 2016 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KSAMissionCtrl/860cb28baf43da33ecaef94151ae73ea to your computer and use it in GitHub Desktop.
Save KSAMissionCtrl/860cb28baf43da33ecaef94151ae73ea to your computer and use it in GitHub Desktop.
How long your probe will orbit in the dark
// from https://redd.it/5eitfp
print "Estimation:"+round(1+abs(ETA:PERIAPSIS-ETA:APOAPSIS) * (arcsin(orbit:body:radius/(orbit:body:radius+altitude))/90))+ " s.".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment