# Modelling bacterial growth equations

Page 1 of 1

## 0 Replies - 650 Views - Last Post: 19 February 2013 - 08:32 AMRate Topic: //<![CDATA[ rating = new ipb.rating( 'topic_rate_', { url: 'http://www.dreamincode.net/forums/index.php?app=forums&module=ajax&section=topics&do=rateTopic&t=312722&amp;s=41770e023deb6e0592188f140e772714&md5check=' + ipb.vars['secure_hash'], cur_rating: 0, rated: 0, allow_rate: 0, multi_rate: 1, show_rate_text: true } ); //]]>

### #1 civilengineer09

Reputation: 0
• Posts: 7
• Joined: 07-February 13

# Modelling bacterial growth equations

Posted 19 February 2013 - 08:32 AM

Hi

I am wanting to write a programme to model bacterial growth with the following equations but I am unsure how you turn equations into python programming language. Could anyone help?

My hypothesis is that there are two species of bacteria. One acts to reduce the pH to a certain level and once reduced to this level a second species will start to act to increase production of Fe(II).

The process will generate CO2 and lose OH-

The equations are as follows. c = concentration. a = rate 1/time

dc1/dt = k1c1

ac1 = d/dt[CO2]
ac2 = d/dt[CO2]

[OH-] = [OH-]0 - d/dt[CO2]
pH = -log10((10^-14)/[OH-])

dc2/dt = {k2c2 pH <threshold}
{0 pH >threshold}

I hope that makes sense. Any help appreciated!

Is This A Good Question/Topic? 0

Page 1 of 1

 .related ul { list-style-type: circle; font-size: 12px; font-weight: bold; } .related li { margin-bottom: 5px; background-position: left 7px !important; margin-left: -35px; } .related h2 { font-size: 18px; font-weight: bold; } .related a { color: blue; }