General Question

jordy240's avatar

What math equation should I use to represent amount of caffeine according to this chart?

Asked by jordy240 (131points) January 26th, 2010

Hi,

I am trying to create a spreadsheet/web app that will show a graph like this:
http://i.imgur.com/HTFVh.jpg

you enter in how many mg’s of caffeine each drink contained that you drank throughout the day and it yields a graph like the one above.

any help would be appreciated!

Observing members: 0 Composing members: 0

1 Answer

hiphiphopflipflapflop's avatar

Making the simplifying assumption that the drink goes in a single gulp and all the caffeine goes into the bloodstream immediately, all you are left with is exponential decay (caffeine metabolized) and step functions (caffeine uptake).

Caffiene(new time) = [Caffiene(previous time) x (½)^(time step/half-life)] + Caffiene ingested at new time

(see half-life)

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther