The half-life of caffeine in your system is 6 hours. If you drink 100mg of caffeine every day, what percentage is left in your system after a week?
If you drink 100mg caffeine every day for a month (30d), how long does it take for the level of caffeine in your system to drop below 1mg?
Hint: If you drink $x$ coffee after one day you get $\frac{x}{2^4}$ left in your system. The rest is writing the proper sum.
For the first question, you will have: $$ \frac{x}{16}+\frac{x}{16^2}+...+\frac{x}{16^7}=x\frac{1}{16}\frac{1-\frac{1}{16^7}}{1-\frac{1}{16}} $$
For the last question, you get: $$ \frac{x}{16}+\frac{x}{16^2}+...+\frac{x}{16^{30}}=x\frac{1}{16}\frac{1-\frac{1}{16^{30}}}{1-\frac{1}{16}}=y $$ You want to find $d$ such that: $$ \frac{y}{16^d}\leq \frac{x}{100} $$