Solve as a difference equation.

After caffeine is absorbed into the body, 1% is eliminated from the body each hour. Assume a person drinks an 8-oz cup of brewed coffee
containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. Find the difference equation for Yn, the amount of caffeine in
the body after n hours. Solve the difference equation. After how many hours will 65 mg (one-half the original amount) remain in the body? How
much caffeine will be in the body 24 hours after the person drank the coffee?

Respuesta :

Solution :

Let y = amount of caffeine at a given time in body.

n = number of hours

So [tex]$\frac{dy}{dn}= - \ Y$[/tex]

[tex]$\Rightarrow \frac{dY}{Y}=- 0.01 \ dn[/tex]

ln Y = -0.01 n + C

At n = 0, Y = 130 mg

ln 130 = -0.01 x 0 + C

C = ln 130

[tex]$ \ln \frac{Y}{130} =- 0.01 \ n$[/tex]

[tex]$Y = 130 \ e^{-0.01n}$[/tex]

When Y = 65

[tex]$65 = 130 \ e^{-0.01 n }$[/tex]

[tex]$\frac{65}{130}=e^{-0.01n}$[/tex]

[tex]$\ln \frac{1}{2} = -0.01 \ n$[/tex]

n = 69.315 hours

At n = 24 hours

[tex]$Y = 130 \ e^{-0.01 \times 24}$[/tex]

Y = 102.26 mg

Otras preguntas