I am interested in calculating activity of water at high T. I found this formula: a= Yw*P/P(T), where
Yw= mole fraction of water
P= pressure
P(T)= vapor pressure of water as a function of T
and
log[P(T)]= -2.18 + 0.029(T-273.2) -......
Let's make it simple and say I have a pure water vapor...
I have two gases; Ar and H2 flowing through two seperate tubes under the same P and T. I can only measure the flow rate of Ar. Is the ratio of H2 to Ar flow rate equal to the ratio of their viscosity at the given P and T?
Thank you much for the reply. I guess I was not clear about my problem. As you mentioned, I wanted to make a loop to change T (and subsequently k) and then solve the ode and finally come up with the profile of c based on the new T.
The problem was when I put the loop in the the "solver" file...
Hi
I am new with Matlab and trying to solve this problem.
The problem is a mutli-reaction system of the form
dc1/dt=kc1+kc2
dc2/dt=kc2-kc3
... etc.
where k=reaction constant
Here is a code I wrote in Matlab:
function dc=bio(t,c)
T=298
E=13145 %constant
R=1.98 % constant
A=1.4e5 %constant...