Can someone help me to solve this? $$V\left(\frac{\mathrm dc}{\mathrm dx}\right)=w-Qc-KcV$$
$w,Q,K,V$ are constants
I think it is linear but i can't get the correct answer which is $$c(x)=[w/(Q+KV)](1-e^{-(Q/V+K)x})$$
Thanks in advance
Can someone help me to solve this? $$V\left(\frac{\mathrm dc}{\mathrm dx}\right)=w-Qc-KcV$$
$w,Q,K,V$ are constants
I think it is linear but i can't get the correct answer which is $$c(x)=[w/(Q+KV)](1-e^{-(Q/V+K)x})$$
Thanks in advance
Your ODE is equal to
$$\frac{dc}{dx}=\frac{-Q-KV}{V}c+\frac{w}{V}$$
Set $$ f(c)=\frac{-Q-KV}{V}c+\frac{w}{V} $$ then $ f(\frac{w}{Q+KV})=0 $ hence $c_s(x)=\frac{w}{Q+KV}$ is a special solution of the ODE. Now consider $$\frac{dc}{dx}=\frac{-Q-KV}{V}c = Ac \ , \ \ A=\frac{-Q-KV}{V}$$ Here the general solution is $c_g(x)=Ae^{Ax}$. Thus
$$c(x)=c_s(x)+c_g(x)$$ is the solution, which is exactly the solution you wrote in the last line.