ChEn-3170: Computational Methods in Chemical Engineering Spring 2020 UMass Lowell; Prof. V. F. de Almeida 26Jan20
your name
¶Context | Points |
---|---|
Precision of the answer | 80% |
Answer Markdown readability | 10% |
Code readability | 10% |
'''Code'''
ch4 = {'formula': 'CH4', 'molar_mass': 16} o2 = {'formula': 'O2', 'molar_mass': 32} co2 = {'formula': 'CO2', 'molar_mass': 44} h2 = {'formula': 'H2', 'molar_mass': 2} h2o = {'formula': 'H2O', 'molar_mass': 18} co = {'formula': 'CO', 'molar_mass': 28}
'''Code'''
1 CH4 + 1 O2 <=> 1 CO2 + 2 H2 2 H2 + 1 O2 <=> 2 H2O 2 CO + 4 H2 <=> 2 CH4 + 1 O2
'''Code'''
stoic_rxn 1 = [-1 -1 1 2] stoic_rxn 2 = [-2 -1 2] stoic_rxn 3 = [-2 -4 2 1]
'''Code'''
molar masses per reaction [16 32 44 2] [ 2 32 18] [28 2 16 32] stoichiometric coefficient vector product with molar masses [-16 -32 44 4] [ -4 -32 36] [-56 -8 32 32]
'''Code'''
Explanation of results: