Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 38: | Line 38: | ||
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)*1000000000000) }; | if (CFUcheck.checked) { CFU.value = (parseFloat(OD600.value)*1000000000000) }; | ||
- | if (conccheck.checked) { | + | if (conccheck.checked) { concentration.value = (parseFloat(intercept.value)) } ; |
activity.value = (parseFloat(concentration.value)/(parseFloat(CFU.value)/1000000000000)*(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)/1000000000000)*(602200/(parseFloat(foldfraction.value)/100)))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | ||
Line 45: | Line 45: | ||
activity.value = parseFloat(activity.value).toExponential(); | activity.value = parseFloat(activity.value).toExponential(); | ||
- | |||
- | |||
"> | "> | ||
Revision as of 21:01, 17 October 2014