As lim x → π 3 sin ( x ) = 0 {\displaystyle \lim _{x\to \pi }3\sin(x)=0} and lim x → π ( x − π ) = 0 {\displaystyle \lim _{x\to \pi }(x-\pi )=0} , we can apply L'Hospital's Rule.
Using ( 3 sin ( x ) ) ′ = 3 cos ( x ) {\displaystyle (3\sin(x))'=3\cos(x)} and ( x − π ) ′ = 1 {\displaystyle (x-\pi )'=1} , we obtain