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