I'm helping my son with Matlab as he is having trouble learning differential equations as they apply to chemical kinetics. His task is to solve for the equilibrium concentrations for a reaction
$$\ce{A + B <=>[$k_{\mathrm{f}}$][$k_{\mathrm{b}}$] C}.$$
We are given the forward and backward rates and the initial concentrations of the reactants and products. I helped him to set up the required equations and ran them through the ode integrator in R and Matlab but the results don't look right. I'm pretty sure the integration process is working so I think maybe the actual formulae are wrong:
\begin{align} \frac{\mathrm{d[A]}}{\mathrm{d}t} &= {k}_\mathrm{b}[C]-{k}_\mathrm{f}[A][B]\\ \frac{\mathrm{d[B]}}{\mathrm{d}t} &= {k}_\mathrm{b}[C]-{k}_\mathrm{f}[A][B]\\ \frac{\mathrm{d[C]}}{\mathrm{d}t} &= {k}_\mathrm{f}[A][B] -{k}_\mathrm{b}[C] \end{align}
When I run this through the integrator with $k_\mathrm{f}=3$, $k_\mathrm{b}=1.5$, $[A]=\pu{1M}$, $[B]=\pu{1M}$, and $[C]=0$, the concentrations all reach equilibrium at the same level of $\pu{0.5M}$. Is that correct? I would have expected them to be different with the forward rate being bigger.
Really sorry for the basic question but as I said, I'm a programmer not a chemist. I got the formulae from this How to set up an equation to solve a rate law computationally? but assumed that I didn't need to square any of the concentrations since the reaction is $\ce{1+1<=>1}$.