Explicit Determination of Pinned-Pinned Beams with a Finite Number of Given Buckling Loads