1. The problem statement, all variables and given/known data I'm having difficulty deriving the differential equation, this is what I have so far. In order to solve it, I will be using Matlab, and I'll be using the equation dy/dx ≈ (y(x + dx) - y(x))/dx. Is my derivation correct so far? 2. Relevant equations In picture. 3. The attempt at a solution If it's correct, do I just need to make DVout/dt the subject, then apply the approx. derivative equation to then calculate the values?