ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > Living Room

How to calculate the area of a graph?

(1/1)

kalos:
Hello

I have this graph and I want to calculate the amount in grams of glucose that is above the straight line of 100mg/dl for the whole period of about 5h.

https://img.medscapestatic.com/slide/migrated/editorial/cmecircle/2004/3036/images/gavin/slide021.gif

I think I need to calculate the area of the triangle, but this will give me a unit of mg/dL x hours which does not make sense.

Thanks!

kunkel321:
I'm not sure I could do the math on this.  Also though, I'm not sure I understand the question.  When you say the "straight" line, do you mean the Normoglyc one?  And you want to extrapolate out to hour 5?  To get an exact number, I think you'd have to have the math of the curve.  Visually I'd say it levels out at 105 mg per dl.

You title says "area," but I'm not sure that it makes sense to calculate area of this type of graph.   It's not like a normal bell curve, were the x-axis represents members of a population.   The graph is three different groups of people over time.

Again, not sure I understand.

wraith808:
http://www.mathwords.com/a/area_under_a_curve.htm

4wd:
http://www.mathwords.com/a/area_under_a_curve.htm
-wraith808 (March 06, 2019, 10:14 AM)
--- End quote ---

Bearing in mind it's been 40+ years since I had to stare cross-eyed at this stuff I would have thought that since the graph was seemingly created using sampled data rather than a formula that you would have had to use the age old method of slicing and dicing the area into trapezoids, calculating their area, and then adding them together?

Or given the data you could probably just stick it into Excel and have it do it.

wraith808:
http://www.mathwords.com/a/area_under_a_curve.htm
-wraith808 (March 06, 2019, 10:14 AM)
--- End quote ---

Bearing in mind it's been 40+ years since I had to stare cross-eyed at this stuff I would have thought that since the graph was seemingly created using sampled data rather than a formula that you would have had to use the age old method of slicing and dicing the area into trapezoids, calculating their area, and then adding them together?

Or given the data you could probably just stick it into Excel and have it do it.
-4wd (March 06, 2019, 03:42 PM)
--- End quote ---

That's a possible way of doing it- that way just requires geometry and basic math, not calculus.  The equation given there is just the easier way to calculate it from the formula of the graph.