Differential equations with discontinuous right-hand sides☆