We analyze a heuristic numerical method suggested by V.I. Petviashvili in 1976 for approximation of stationary solutions of nonlinear wave equations. The method is used to construct numerically the ...