I am working to solve a formula for population, where I have the following model: $P(t)= M/(1+Ae^{-Mkt})$
I have the first data points for the model: $(0,2700000), (1,3050000), (2,3450000)$
This gives me $3$ equations:
$2700000=M/(1+A),$
$3050000=M/(1+Ae^{-Mk})$
$3450000=M/(1+Ae^{-2Mk})$
However, I am not sure how to solve for each of the $3$ variables, $M, k$ and $A$? Any help would be much appreciated.
There are many ways to solve the problem. Here is another one : first let $e^{-Mk}=x$ and consider $$2700000=\frac M{1+A} \tag 1$$ $$3050000=\frac M{1+A x} \tag 2$$ $$3450000=\frac M{1+A x^2} \tag 3$$ $$x=e^{-Mk}\tag 4$$ $$\frac{(1)}{(2)} \implies \frac{54}{61}=\frac{A x+1}{A+1}\implies A=\frac{7}{54-61 x} \tag 5$$ $$\frac{(1)}{(3)} \implies \frac{18}{23}=\frac{A x^2+1}{A+1}\implies x=\frac{144}{161}\implies A=-\frac{1127}{90}\tag 6$$ Now, from $(1)$ $M=-31110000$.
Now, using $(4)$ $$\frac{144}{161}=\exp({31110000 k})\implies k=-\frac{\log \left(\frac{161}{144}\right)}{31110000}$$