The ODE is separable, as
d<em>V</em>/d<em>t</em> = 2<em>V</em> - 15 → d<em>V</em>/(2<em>V</em> - 15) = d<em>t</em>
Integrate both sides to get
1/2 ln|2<em>V</em> - 15| = <em>t</em> + <em>C</em>
(To compute integral, consider substituting <em>U</em> = 2<em>V</em> - 15.)
The volume is <em>V</em> = 15 cm³ when <em>t</em> = 0, so that
1/2 ln(15) = <em>C</em>
and so the volume at any time <em>t</em> is such that
1/2 ln|2<em>V</em> - 15| = <em>t</em> + 1/2 ln(15)
Solve for <em>V</em> :
ln|2<em>V</em> - 15| = 2<em>t</em> + ln(15)
2<em>V</em> - 15 = exp(2<em>t</em> + ln(15))
2<em>V</em> - 15 = exp(2<em>t</em>) exp(ln(15))
2<em>V</em> - 15 = 15 exp(2<em>t</em>)
2<em>V</em> = 15 + 15 exp(2<em>t</em>)
<em>V</em> = 15/2 (1 + exp(2<em>t</em>))
(where exp(<em>x</em>) = <em>eˣ</em> )
Then the volume of fluid after <em>t</em> = 2 s is
<em>V</em> = 15/2 (1 + exp(4)) ≈ 417 cm³