Buckling of Elastic Beam Under Unilateral Constraint