Application of Area-Moment Method to Restrained Beams
See deflection of beam by moment-area method for details.
Rotation of beam from A to B
$\theta_{AB} = \dfrac{1}{EI}(\text{Area}_{AB})$
Deviation of B from a tangent line through A
$t_{B/A} = \dfrac{1}{EI} (Area_{AB}) \, \bar{X}_B$