Explanation : The given function is a continuous function in range [-5, 5].
The Intermediate Value Theorem states if a continuous function has values of opposite sign inside an interval, then it has a root in that interval.
The function changes sign twice in range [-5, 5].
It becomes positive to negative in range [-5, 0] when ex + 0.5x2 becomes less than 2.
It becomes positive to negative in range [0, 5] when ex + 0.5x2 becomes more than 2.