A formulation for the bound-state problems