A short review for solving the beam problem in 2D is given. The deflection curve, bending moment and shear force diagrams are calculated for a beam subject to bending moment and shear force using direct stiffness method and then using finite elements method by adding more elements. The problem is solved first by finding the stiffness matrix using the direct method and then using the virtual work method.