Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 48: | Line 48: | ||
var growthunitvar = parseFloat(growthunit.value); | var growthunitvar = parseFloat(growthunit.value); | ||
- | + | if (conccheck.checked) { conc = (parseFloat(fluorescence.value)-parseFloat(intercept.value)) / parseFloat(slope.value) }; | |
if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; | if (degcheck.checked) { degenvar = Math.log(2)/(parseFloat(deghalf.value)*parseFloat(deghalfunit.value)) }; | ||
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)) }; |
Revision as of 21:27, 17 October 2014