On the non-linear buckling with large slope of elastic beams