A bounding function approach to impulsive Dirichlet problem with an upper-Carathéodory right-hand side