[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [APD] Qs re dKH maintenance



 > > (1) Can someone verify the equations...
 > >
 > >   dKH = co2 / 3 / 10^(7-pH)
 > >
 > >   bicarb = (h2o/5.28) * delta_dKH
 > 
 > I made a calculator for this a few years ago in JavaScript. You're 
 > welcome to inspect the code and port it to Perl.

http://fish.bakerweb.biz/calculator.js

CO2_Out.value=round((3*KH1degrees.value*Math.pow(10,(7-pH1.value))),0);

thanks.

my perl scripts were included in m my previous msg after my sig.

steve
--
  
_______________________________________________
Aquatic-Plants mailing list
Aquatic-Plants at actwin_com
http://mailman.actwin.com/mailman/listinfo/aquatic-plants