If $$f(x)=\lim_{t\to\infty}{\frac{(1+\sin{\pi x})^t-1}{(1+\sin{\pi x})^t+1}}$$
Then range of $f(x)$ is?
My Attempt:
I was able to conclude that when,
$$\sin{\pi x}\to0^+, f(x)\to1$$
$$\sin{\pi x}\to0^-, f(x)\to-1$$
But the answer is $\{-1,0,1\}$
When will $f(x)$ assume the value $0$?