Text this: Averaging of multivalued differential equations