Load and moment diagrams for a given shear diagram