Answer:
If you are referring to a logarithmic function with a continuous rate of decrease(as implied by remaining), then here is your answer:
<u>A</u><u>(t) = c×e^(dt)</u>
where c is the starting amount of caffeine in miligrams, e is euler's number (base of a natural logarithm), and d is continuous rate of logarithmic change(as a percentage decay(negative)) per t(time) in standard unit of time(i.e hours)
I.e(for instance): if you are given a cup of coffee with an initial <em>190 mg</em> of caffeine, <em>leaving</em> the body at a rate of <em>36%</em><em> </em>every <em>hour</em>.
This relationship solving for the remaining miligrams can be given by:
A(t) = 190 mg × e ^ (-.36t)
Where t is the amount of hours.