Team:DTU-Denmark/Achievements/Calculator
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) (Undo revision 343669 by Tbjohannesen (talk)) |
Tbjohannesen (Talk | contribs) |
||
Line 33: | Line 33: | ||
<div id="PoPScalculator" style="width:800px;position:relative;"> | <div id="PoPScalculator" style="width:800px;position:relative;"> | ||
- | <form | + | <form onchange = " |
+ | if (fluorcheck.checked) { concentration.value = (parseFloat(fluorescence.value)-parseFloat(intercept.value)) / parseFloat(slope.value) }; | ||
+ | if (CFUcheck.checked) { OD600.value = (parseFloat(CFU.value)*1000000000000) }; | ||
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)) }; | ||
- | + | activity.value = (parseFloat(concentration.value)/parseFloat(OD600.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)/ | + | |
- | + | ||
+ | activity.value = Math.round(parseFloat(activity.value)*1000)/1000; | ||
+ | "> | ||
Revision as of 19:20, 17 October 2014