Skip to content

Instantly share code, notes, and snippets.

@alexwelch
Created March 14, 2015 04:30
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 alexwelch/b53e6bf668d927bfeadc to your computer and use it in GitHub Desktop.
Save alexwelch/b53e6bf668d927bfeadc to your computer and use it in GitHub Desktop.
ROI given time savings and annual speeding ticket cost.
annual_miles_driven = 10_000 #miles
average_speed_limit = 50 #mph
your_average_speed = 60 #mph
annual_citation_spend = 800 #dollars
time_saved = (annual_miles_driven / average_speed_limit) - (annual_miles_driven / your_average_speed)
puts "Your time better be worth more than: $#{annual_citation_spend / time_saved}/hour"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment