Project

Comparison

With different fuel types like alkane, alkene, and alkyne relation of ar with the no. of moles will change due to change in hydrogen moles.

\"\"

% alkane 
% 2ar = 2a + b
% n = a
% n/2 = b
% ar = (3*n+1)/2

% no of moles of carbon
n = linspace(0,10);
% intial value
y0 = 0;

% solving ode using an anonymous function

ar = lsode(@(ar,n) (3*n+1)/2,y0,n)

plot(ar,n)
xlabel(\'Stoichiometric co-efficient\')
ylabel(\'no. of moles of Carbon\')

\"\"

% alkene 
% 2ar = 2a + b
% n = a
% n = b
% ar = (3*n)/2

% no of moles of carbon
n = linspace(0,10);
% intial value
y0 = 0;

% solving ode using an anonymous function

ar = lsode(@(ar,n) (3*n)/2,y0,n)

plot(ar,n)
xlabel(\'Stoichiometric co-efficient\')
ylabel(\'no. of moles of Carbon\')

\"compariosn\"

% alkyne 
% 2ar = 2a + b
% n = a
% n/2 = b
% ar = 5*n/4

% no of moles of carbon
n = linspace(0,10);
% intial value
y0 = 0;

% solving ode using an anonymous function

ar = lsode(@(ar,n) (5*n/4),y0,n)

plot(ar,n)
xlabel(\'Stoichiometric co-efficient\')
ylabel(\'no. of moles of Carbon\')
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.