Hi I am trying to make an App fore Android mobile, to calculate the O2 drop in the loop

but I cant find the formula to calculate this :-(

from an erligere treath here on rb world I got this.

Reb PpO2 = (FO2*((K*Vol Ratio*ATA)+1)-1)/(K*Vol Ratio)

but there must be some error lets look at )+1)-1) this is equal nothing

lets try to put some data in

Depth (pressuer) 21meter = 3,1bar

O2% in gas = 0,32

DUmp Ration 1:10 = 0,1

lung volume = 4,5L

AMV (L/min) = 23

Metabolism O2 (L/min) = 1,0

K = AMV * Metabolism = 23

Reb PpO2 = (FO2*((K*Vol Ratio*ATA)+1)-1)/(K*Vol Ratio)

whar is Vol Ration (maybe Lung Value * Dump Ration = 0,1 * 4,5 = 0,45)

and if the FO2 is the same as "O2% in gas" the we can fill the number in.

Reb PpO2 = (0,32*((23*0,45*3,1)+1)-1)/(23*0,45)

Reb PpO2 = (0,32*(32,085)/10,35

Reb PpO2 = 10,2672/10,35

Reb PpO2 = 0,992

if I put the same number into Maxim's pc program, I end up whit 0,70 PPo2

I hawe reyed whit other formula, that I have found on the inter net, the SF1 manual and so on, but so fare, I have not been able to come up whit a formula that is working :-(

can some of you help me pleas -)

best regards Morten