Answer
See the theorem below.
Work Step by Step
If we have the inequality $g(x)\leq f(x)\leq h(x)$ for all $x\neq c$ in the interval $I$ that contains $c$ and $\lim_{x\to c}g(x)=\lim_{x\to c}h(x)=L$
Then $\lim_{x\to c}f(x)=L$.
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.