Question: Using MATLAB, write a program to solve the general combustion equation for any hydrocarbon. General Combustion Equation: C,H, + (n + y/4)(O2 + 3.76N2) =

Using MATLAB, write a program to solve the general combustion equation for any hydrocarbon. General Combustion Equation: C,H, + (n + y/4)(O2 + 3.76N2) = nCO2 + y/2(H20) + (n + y/4)3.76N2 Where n and y are user-defined numbers based on a given hydrocarbon, such as H,C6 Also, write a program to solve the combustion equation for an x% excess amount of air. Combustion Equation for Excess amount of air: C,H, + x(n + y/4)(0, +3.76N2) = nCO2 + y/2(H20) + ((x-1)(n+y/4))O2 + x(n + y/4)3.76N2 Where x is the percent of excess air defined by a user, such as 20% or 0.21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
