Did you know?

Thirty coffees, and the caffeine never passes two cups

Half the caffeine is gone every five hours, so a cup counts 1 when you drink it, then ½, ¼, ⅛ as it gets older.

With a coffee every five hours, the newest four cups add up to 1 + ½ + ¼ + ⅛ = 1⅞. Older cups add tinier and tinier pieces, each covering half of the gap that is left, so the total creeps towards two cups but never passes it.

The full explanation · DSP from Scratch, lesson 5Convolution Explained Simply: Flip, Slide, Multiply, Add