Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) (Undo revision 360037 by Tbjohannesen (talk)) |
Tbjohannesen (Talk | contribs) |
||
Line 43: | Line 43: | ||
var CFUcount = parseFloat(CFU.value); | var CFUcount = parseFloat(CFU.value); | ||
var fold = parseFloat(foldfraction.value); | var fold = parseFloat(foldfraction.value); | ||
- | var degenvar = parseFloat(degen.value); | + | var degenvar = parseFloat(degen.value)/parseFloat(degenunit.value); |
var degenunitvar = parseFloat(degenunit.value); | var degenunitvar = parseFloat(degenunit.value); | ||
- | var growthvar = parseFloat(degenunit.value); | + | var growthvar = parseFloat(degenunit.value)/parseFloat(growthunit.value); |
var growthunitvar = parseFloat(growthunit.value); | var growthunitvar = parseFloat(growthunit.value); | ||
Line 53: | Line 53: | ||
if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1000000000000) }; | if (CFUcheck.checked) { CFUcount = (parseFloat(OD600.value)*1000000000000) }; | ||
- | activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar | + | activity.value = (parseFloat(conc)/(parseFloat(CFUcount)/1000000000000)*(602200/(parseFloat(fold)/100)))*((parseFloat(degenvar))+(parseFloat(growthvar)))/parseFloat(copynumber.value); |
activity.value = Math.round(parseFloat(activity.value)*100000)/100000; | activity.value = Math.round(parseFloat(activity.value)*100000)/100000; |
Revision as of 22:16, 17 October 2014