3. Given the specified range of the variables, find out the all the critical points of the following functions, and identify the global maxima and minima, if exist:

3.1 \((5\%)\) \(f(x) = x - e^{x}\) , where \(0\leq x\leq 10\)