Difference between revisions of "Multiple reactions - 2013"
Jump to navigation
Jump to search
Kevin Dunn (talk | contribs) m |
Kevin Dunn (talk | contribs) |
||
Line 49: | Line 49: | ||
* [http://learnche.mcmaster.ca/media/3K4-2013-Class-08B-2.mp3 Audio] and [http://learnche.mcmaster.ca/media/3K4-2013-Class-08B-2.mp4 video] recording of the class | * [http://learnche.mcmaster.ca/media/3K4-2013-Class-08B-2.mp3 Audio] and [http://learnche.mcmaster.ca/media/3K4-2013-Class-08B-2.mp4 video] recording of the class | ||
=== 07 March 2013 === | |||
Polymath code for example in class: | |||
<syntaxhighlight lang="text"> | |||
# ODEs | |||
d(CA) / d(t) = -k1*CA | |||
d(CB) / d(t) = k1*CA - k2*CB | |||
d(CC) / d(t) = k2*CB | |||
# Initial conditions | |||
CA(0) = 2 # mol/L | |||
CB(0) = 0 # mol/L | |||
CC(0) = 0 # mol/L | |||
# Algebraic equations | |||
k1 = 0.5 # 1/hr | |||
k2 = 0.2 # 1/hr | |||
S_DU = (k1*CA - k2*CB) / (k2*CB+1E-15) | |||
Overall_SDU = CB/(CC+1E-15) | |||
Yield = CB/(2 - CA+1E-15) | |||
# Independent variable details | |||
t(0) = 0 | |||
t(f) = 3.1 # hours | |||
</syntaxhighlight> |
Revision as of 02:58, 8 March 2013
Class date(s): | 06 March | ||||
| |||||
Textbook references
- F2011: Chapter 8
- F2006: Chapter 6
Suggested problems
Will be posted soon
Class materials
06 March 2013 (08B-2)
07 March 2013
Polymath code for example in class:
# ODEs
d(CA) / d(t) = -k1*CA
d(CB) / d(t) = k1*CA - k2*CB
d(CC) / d(t) = k2*CB
# Initial conditions
CA(0) = 2 # mol/L
CB(0) = 0 # mol/L
CC(0) = 0 # mol/L
# Algebraic equations
k1 = 0.5 # 1/hr
k2 = 0.2 # 1/hr
S_DU = (k1*CA - k2*CB) / (k2*CB+1E-15)
Overall_SDU = CB/(CC+1E-15)
Yield = CB/(2 - CA+1E-15)
# Independent variable details
t(0) = 0
t(f) = 3.1 # hours