Novel determination of differential-equation solutions: universal approximation method