Iyengar type inequality, generalized Taylor formula, Appell condition, harmonic sequence of polynomials, Bernoulli polynomials, Euler polynomials