When a compressive instead of a tensile force is applied at the free end of the beam in Problem 7 , the differential equation of the deflection is
$$
E I y^{\prime \prime}=-P y-w(x) \frac{x}{2}
$$
Solve this equation if $w(x)=w_{0} x, 0<x<L$, and $y(0)=0$ $y^{\prime}(L)=0 .$