6-17. Express the internal shear and moment in the cantilevered beam as a function of x and then draw the shear and moment diagrams.
Fig: 1
Fig: 2