Rotation of the free end Beam

If you consider a beam with axis x, the rotation is the angular displacement of a single section with respect to the initial position. If w(x) is the vertical displacement of the beam, the rotation will be the derivative of w with respect to x