Artifact 72174642582e42b95536afad630ca1288ea222ad1557d6de053696d426f33012:
- Executable file
r37/packages/misc/reacteqn.tst
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 877) [annotate] [blame] [check-ins using] [more...]
- Executable file
r38/packages/misc/reacteqn.tst
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 877) [annotate] [blame] [check-ins using]
% Examples for the conversion of reaction equations to ordinary % differential equations. % Example taken from Feinberg (Chemical Engineering): species := {A1,A2,A3,A4,A5}; reac2ode { A1 + A4 <> 2A1, rho, beta, A1 + A2 <> A3, gamma, epsilon, A3 <> A2 + A5, theta, mue}; inputmat; outputmat; % Computation of the classical reaction matrix as difference % of output and input matrix: reactmat := outputmat-inputmat; % Example with automatic generation of rate constants and automatic % extraction of species. species := {}; reac2ode { A1 + A4 <> 2A1, A1 + A2 <> A3, A3 <> A2 + A5}; on rounded; species := {}; reac2ode { A1 + A4 <> 2A1, 17.3* 22.4**1.5, 0.04* 22.4**1.5 }; end;