Applications Of Differential Equations

The radial stress p at distance r for the axis of the thick cylinder subjected to internal pressure is given by p + r (dp/dr) = A − p where A is a constant. If p = p0 at the inner wall r = r1 and is negligible (p = 0) at the outer wall r = r2 find an expression for p.