Some new inequalities of Hermite-Hadamard type for s-convex functions with applications