I have a question I am having trouble answering:
The slope function of a curve is: $$\frac{dy}{dx}=ux+k$$
u and k are constants.
The curve passes through $(0,-1)$ and $(2,-5)$
At $(2,-5)$ the slope equals $1$.
How do I get the equation?
I have tried integrating and pluging the two above points in and trying to solve for u and k but I end up getting the integration constant $c=-1$ and $k=2-u$ I then plug this into the integrated slope function: $$\frac{ux^2}{2} + kx -1$$
but I don't get the correct answer.
Could someone point out where I am going wrong wrong and how to correct it.