Let C(t) denote the amount of caffeine, in milligrams, present in the engineer’s body t hours after drinking the coffee.
Since the rate at which caffeine is eliminated is assumed to be proportional to the amount currently present in the body, we have
C′(t)=−kC(t),where k>0. The negative sign indicates that the amount of caffeine decreases over time.
Separating variables gives
CdC=−kdt.Integrating,
lnC=−kt+c,
C(t)=C0e−kt,where C0>0 is a constant.
Immediately after drinking the coffee, the engineer has 200 mg of caffeine in their body. Hence
C(0)=200.Since
C(0)=C0,we obtain
C0=200.Thus
C(t)=200e−kt.
The half-life is 5 hours, so after 5 hours the amount of caffeine has been divided by two:
C(5)=100.Therefore
100=200e−5k,so
e−5k=21.Taking logarithms,
−5k=ln(21)=−ln2,and hence
k=5ln2.
The model is therefore
C(t)=200e−5ln2t.
We want to determine when the amount of caffeine reaches 50 mg:
200e−5ln2t=50.Thus
e−5ln2t=41.Since
41=2−2,we obtain
−5ln2t=−2ln2,and therefore
t=10 hours.
The coffee was consumed at noon. Ten hours later, the caffeine level reaches 50 mg at
22:00.
To have at most 50 mg of caffeine remaining by 23:00, the engineer must allow at least 10 hours between drinking the coffee and going to bed.
Therefore, the latest possible time to drink the coffee is
23:00−10 hours=13:00.
Hence,
13:00.
- Suppose the engineer drinks one coffee at 12:00 and another identical coffee at 16:00.
At 23:00, the caffeine remaining from the first coffee is
C1=200e−5ln2⋅11=200⋅2−11/5.
The second coffee has been in the body for 7 hours, so its contribution is
C2=200e−5ln2⋅7=200⋅2−7/5.
Thus the total amount of caffeine at 23:00 is
Ctotal=200(2−11/5+2−7/5).
Numerically,
Ctotal≈43.5+75.8≈119.3 mg.
Therefore,
Ctotal>50 mg.
According to our model, the engineer will not reach the 50 mg threshold before 23:00. So perhaps that second coffee was not such a good idea.
No messages yet.