hydrocarbons
Objective: clear all close all clc %n1=number of moles of C for alkane n1=1:1:5; %ar1= stoechometric coefficient for alkane ar1= (3*(n1)+1)/2; %n2=number of moles of C for alkene n2=1:1:5; %ar2= stoechometric coefficient for alkene ar2=3*n2/2; %n3=number of moles of C for alkyne n3=1:1:5; ar3=((3*n3)-1)/2; %ar3=stoechometric coefficient…