Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) (Undo revision 362638 by Tbjohannesen (talk)) |
Tbjohannesen (Talk | contribs) |
||
Line 52: | Line 52: | ||
if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | if (growthcheck.checked) { growthvar = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | ||
if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1000000000000) }; | if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1000000000000) }; | ||
+ | |||
+ | Math.round(parseFloat(CFUcount)*10000) / 10000; | ||
activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); | activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); |
Revision as of 22:45, 17 October 2014