?

Log in

Glory01

program for solving easy equation needed

Is there a way (bonus points if I can do it on my palm TX) to take an equation with 3 variables, plug in 2 of them (which are different every time) and have a program tell me what the third variable is?  It seems like I should be able to do this.  I went to the doctor yesterday, and my insulin was changed from one that was on a set dosage, to one that changes every time depending on what my blood sugar is and how many carbs I am eating.  So, three times a day I am doing this formula, and there has to be an easier way.  This is the formula.  I will know the blood glucose level and carbs each time.

G = Blood Glucose level
C= number of carbs eaten at meal
B= Bolus amount

[(G-130)/7] + (C/2) = B

Thanks in advance if anyone knows anything!!

Comments

hiya, hopped over to your journal from no_pity.

It's pretty easy to do this in Excel:

In, say, square A2 you'll put G, your blood glucose level.
In B2 you put C, your carbs number.
And in square C2 type in the following:
=SUM(((A2-130)/7)+(B2/2))

Yes, that really is three brackets at the start and two at the end. Put the formula in just as I typed it and you should be fine.

Good luck!
Gracie01

January 2009

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031
Powered by LiveJournal.com