Real-life based math problem
July 27, 2018 7:10 AM Subscribe
On my daily commute back home, I drive past ~15 gas stations. In my country, gas prices change daily and vary a bit from one station to the next. So that got me thinking: What would be the best method to decide whether to fill your tank on the station you're currently in front of or lose the current price forever and take your chances on the remaining stations? Assume each station sets their daily price randomly (but they are all within a $1 range), and we start with the reference of the price we paid last time. Note: I can easily keep track of the lowest price on my way to work and then fill up on the way home, but I am more interested in the math problem than the practical issue.