How to calculate
0
1
2
-1
By taking cases and
we obtain the limits
and
which means with your substitution we have
The limit on the left is 1 and the limit on the right is
Thus the limit we want is 1 by squeeze theorem.
Study 40% syllabus and score up to 100% marks in JEE