Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 49: | Line 49: | ||
- | if (degcheck.checked) { | + | if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; |
- | if (growthcheck.checked) { | + | if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; |
- | if (CFUcheck.checked) { | + | if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1000000000000) }; |
activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar)/parseFloat(degenunitvar))+(parseFloat(growthvar)/parseFloat(growthunitvar)))/parseFloat(copynumber.value); | activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar)/parseFloat(degenunitvar))+(parseFloat(growthvar)/parseFloat(growthunitvar)))/parseFloat(copynumber.value); |
Revision as of 21:21, 17 October 2014