0% found this document useful (0 votes)
29 views

Assignment1 M

This document contains the code for a mathematical model that simulates changes in concentration (Ca) and temperature (T) over time. It defines differential equations that calculate the rate of change of Ca and T as a function of various constants, including heat transfer coefficients, heat of reaction, and activation energy. The model incorporates terms for diffusion, reaction rate, and heat transfer between the system and surroundings.

Uploaded by

Deepak Tholia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Assignment1 M

This document contains the code for a mathematical model that simulates changes in concentration (Ca) and temperature (T) over time. It defines differential equations that calculate the rate of change of Ca and T as a function of various constants, including heat transfer coefficients, heat of reaction, and activation energy. The model incorporates terms for diffusion, reaction rate, and heat transfer between the system and surroundings.

Uploaded by

Deepak Tholia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

31/1/17 10:24 PM C:\Users\Nikhil\Desktop\assignment1.

m 1 of 1

function dY=assignment1(t,Y)
dY=zeros(2,1);
Ca=Y(1);
T=Y(2);
v=7;
rho=1400;
C=160;
Cai=100;
w=0.4;
Ti=273;
dalhr=-50000;
U=4000;
A=5;
Tc=423;
q=10;
k=0.4*exp(400
0*(1/423-1/T));
dY(1)=(q*(Cai-Ca)/v)-(k*Ca);
dY(2)=((w*C*(Ti-T))*(-dalhr*v*k*Ca)+(U*A*(Tc-T)))/(v*rho*C);
end

You might also like