Technical problems often lead to differential equations with piecewise-smooth right-hand sides. Problems in mechanical engineering, for instance, violate the requirements …