Title looks messy but this is what happens: given problem is "use Mathematica to integrate the rate equation to find $a$ and $b$ by a least squares analysis of the following data at $1014K$ for which $a=95$mmHg"
Rate reaction ode: $dx/dt=k(a-x)/(1+bx)$
I don't even understand what the question is asking for but here is what I did and it didn't work
(*dx/dt=k(a-x)/(1+bx)*)
t = {315, 750, 1400, 2250, 3450}
x = {10, 20, 30, 40, 50}
(*der represents dx/dt*)
der = {10/435, 10/650, 10/850, 10/1200, 10/1700} // N
data = Transpose@{x, der}
lsq = NonlinearModelFit[data, k (a - t)/(1 + b*t), {k, a, b}, t]
What I expected is input $x$ into $k(a-x)/(1+bx)$ and der
is dependent value which is representing $dx/dt$
How can I find $a$ and $b$ value using least square and integration at the same time?
DSolve[]
orParametricNDSolve[]
. $\endgroup$