In this paper it is presented a numerical method that can be used by undergraduate students to solve quantum few-body problems in physics. The method is applied to a couple of two-body problems that are usually seen by students: the hydrogen atom and the deuteron. However, the method can be extended to three or more particles.
few-body problems; variational method