The cantilevered beam is made of material having a
specific weight y. Determine the shear and moment in the
beam as a function of .x.