Dear Konrad,
I presume that the system can be written as follows, where h0, d0, ga0, kga and
kd are given:
err1 = h + hd + hga - h0;
err2 = d + hd - d0;
err3 = ga + hga - ga0;
err4 = hga - kga*h*ga;
err5 = hd - kd*h*d;
All error terms should be zero.
Do you need (a) the symbolic solution or (b
Just wanted to mention that the caracas package *may* be better at solving this
problem
Best
Søren
-Original Message-
From: Konrad via R-help
Reply-To: Konrad
To: R-help@r-project.org
Subject: [R] computer algebra in R
Date: Tue, 28 Nov 2023 11:03:36 +0100
Dear all,
I'm curr
Dear all,
I'm currently working on converting mathematica code
(https://github.com/ASDSE/thermosimfit/blob/master/Packages/thermoHD-Comp/thermoCacheHD-1Comp.m)
to R. The code is related to solve algebraic systems.
eqthermo = {h0 == h + hd + hga, d0 == d + hd, ga0 == ga + hga, kga ==
hga
3 matches
Mail list logo