Equilibrium based numerical solutions for the nonlinear beam problem