Studies on the analysis of nonlinear processes via functional expansions—I. Solution of nonlinear ODEs