The theory of the continuous girder; its application to girders with and without variable cross-sections