Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) (Undo revision 348867 by Tbjohannesen (talk)) |
||
Line 36: | Line 36: | ||
if (degcheck.checked) { degen.value = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; | if (degcheck.checked) { degen.value = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; | ||
if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | ||
- | if (CFUcheck.checked) { CFU.value = (parseFloat(OD600.value) | + | if (CFUcheck.checked) { CFU.value = (parseFloat(OD600.value)/1000000000000) }; |
- | activity.value = (parseFloat(concentration.value)/(parseFloat(CFU.value))*(602200/(parseFloat(foldfraction.value)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | + | activity.value = (parseFloat(concentration.value)/(parseFloat(CFU.value)*10000000000000)*(602200/(parseFloat(foldfraction.value)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); |
activity.value = Math.round(parseFloat(activity.value)*100000)/100000; | activity.value = Math.round(parseFloat(activity.value)*100000)/100000; |
Revision as of 20:11, 17 October 2014