2. An interval containing a zero of the function $f(x)=\mathrm{e}^{x}+2 x-3$ is ().
(A) $(-1,0)$
(B) $\left(0, \frac{1}{2}\right)$
(C) $\left(\frac{1}{2}, 1\right)$
(D) $\left(1, \frac{3}{2}\right)$
2. C.

Knowing the following:
$$
\begin{array}{l}
f(-1)=\mathrm{e}^{-1}-50 \\
f\left(\frac{3}{2}\right)=\mathrm{e}^{\frac{3}{2}}>0
\end{array}
$$

Therefore, the solution is $x \in\left(\frac{1}{2}, 1\right)$.