Hello, I am trying to apply the squeeze theorem to the following:

e^sin(pi/x)

limit as x tends towards zero.

-1 < e^sin(pi/x) > 1

-(pi/x) < e^sin(pi/x) < (pi/x)

plugging in zero to the x variables gives me a limit of zero.

My question is, am I correct in how I have factored the (pi/x) components to the outer edges ?

Thank you.