Project

Stoichiometric Combustion Calculator for Alkane Alkene and Alkyne fuels

clear all
close all
clc


%Stoichiometric Combustion Calculator for Alkane, Alkene and Alkyne fuels

%ar = stochiometric coefficient
%n = number of moles of C

n= [1:10];

% alkane = CnH2n+2
% alkene = CnH2n.
% alkyne = CnH2n-2

% General Formula
% CnHm + (n+m/4)(O2+3.76N2) ---> nCO2 + m/2*H2O + 3.76(n+m/4)*N2
% here ar = n+m/4

% formula for ar for above three compounds

% FOR ALKANE
m1 = (2*n+2);
ar_alkane = n+m1/4;

% FOR ALKENE
m2 = 2*n;
ar_alkene = n+m2/4;

% FOR ALKYNE
m3 = 2*n-2;
ar_alkyne = n+m3/4;


figure(1)

plot(n,ar_alkane,\'color\',\'red\',\'linewidth\',2);
hold on
plot (n,ar_alkene,\'color\',\'blue\',\'linewidth\',2);
hold on
plot(n,ar_alkyne,\'color\',\'green\',\'linewidth\',2);

xlabel(\'No. of Moles of Carbon\')
ylabel(\'Stochiometric Coefficient of ar_Carbon\')
legend(\'ar of alkane\',\'ar of alkene\', \'ar of alkyne\')

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.