Location: cellLib @ d4a0f3d57c78 / Scripts / Xi_cal.m

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-08-16 08:07:28+12:00
Desc:
allow to connect a port
Permanent Source URI:
https://models.cellml.org/workspace/6bc/rawfile/d4a0f3d57c7889c0c0121ede3eebb95f7304d5a1/Scripts/Xi_cal.m

function Xi=Xi_cal(t,E,Xo)
T = t+273.15; % K
R = 8.314; % unit J/mol/K
F = 96.48534; % C/mol
Xi=Xo/exp(E*F/(R*T));