We know that IVP of a continuous function says that if $f:\mathbb R\rightarrow \mathbb R$ be a continuous function on $\mathbb R$ then between $[a, b]$ there will be at least one real root of $f(x)=0$ if $f(a)f(b)<0$ OR either even number of roots or no root of $f(x)=0$ if $f(a)f(b)>0$.
Suppose we consider $f(x)=|\sin x|$ in $[\frac{\pi}{2}, \frac{3\pi}{2}]$.
It is continuous function on $[\frac{\pi}{2}, \frac{3\pi}{2}]$ and $f(\frac{\pi}{2})f(\frac{3\pi}{2})>0$.
The problem is: there is exactly only one real root of $f(x)=0$ in $[\frac{\pi}{2}, \frac{3\pi}{2}]$ which is $\pi$. viz $f(x)=0$ for $x=\pi$.
Is this violating IVP?