As you all know $$\tan(x)=\frac{\cos(x)}{\sin(x)}$$so, $$\cos(x)\cdot \tan(x)=\sin(x)$$ $\sin\left(\dfrac{\pi}{2}\right)=1$ and $\cos\left(\dfrac{\pi}{2}\right)=0$ also $\tan\left(\dfrac{\pi}{2}\right)=\text{undefined}$
However $\tan\left(\dfrac{\pi}{2}\right)$ is not equal but is undefined because it is $\dfrac{1}{0}$ so does that mean $\dfrac{1}{0} \cdot 0=1$ in this case?