How to fit an equation in python having three variables?

57 Views Asked by At

Equation to be fitted: $p= my + nx$ where $$x=\frac{k}{1+e^{c-ut}}.$$ In the experimental data we have values of $p, y,$ and $t,$ so $13$ values for each of the three variables $p,y,$ and $t.$