Matlab Program For The Problem Is As Follows-: Output
Matlab Program For The Problem Is As Follows-: Output
fprintf('\n');
disp('Eqn for adiabatic flame temperature of a steady flow process is given by :-');
disp('Q-W=Hprod-Hreact');
disp('Here, Hprod=Hreact ');
fprintf('\n');
disp('The balance chemical reaction for C3H8 is as follows :- ');
disp('C3H8(g) + (5)O2(g) = (3)CO2(g) + (4)H2O(g) + (18.81)N2(g)');
fprintf('\n');
disp('*****adiabatic flame temperature for constant pressure process***** :-');
fprintf('\n');
N1=input('Enter the values of no of moles of CO2 :- ');
N2=input('Enter the values of no of moles of H2O :- ');
N3=input('Enter the values of no of moles of N2 :- ');
N4=input('Enter the values of no of moles of C3H8 :- ');
N5=input('Enter the values of no of moles of O2 :- ');
fprintf('\n');
disp('Here, Hprod=Hreact ');
fprintf('\n');
Ti=input('Enter the value of reactant temperature at initial condition :- ');
Cp1=input('Enter the value of specific heat of CO2 in KJ/kmolK :- ');
Cp2=input('Enter the value of specific heat of H2O in KJ/kmolK :- ');
Cp3=input('Enter the value of specific heat of N2 in KJ/kmolK :- ');
fprintf('\n');
Q1=input('Enter the value of the heat of combustion of propane= ');
Cp6=((N1*Cp1+N2*Cp2+N3*Cp3));
Tadi=((Q1/Cp6)+(Ti));
fprintf('\n');
disp('The Adiabatic Flame Temperature Tadi is given as follows :- ');
disp(Tadi);
fprintf('\n\n');
OUTPUT-
Eqn for adiabatic flame temperature of a steady flow process is given by :Q-W=Hprod-Hreact
Here, Hprod=Hreact
The balance chemical reaction for C3H8 is as follows :C3H8(g) + (5)O2(g) = (3)CO2(g) + (4)H2O(g) + (18.81)N2(g)
Here, Hprod=Hreact
>>