An Analytical Solution for Large Displacements of End-Loaded Beams