Q. Let $x=2$ be a root of the equation $x^2+p x+q=0$ and $f(x)=\begin{cases}\frac{1-\cos \left(x^2-4 p x+q^2+8 q+16\right)}{(x-2 p)^4}, & x \neq 2 p \\ 0, & , x=2 p\end{cases}$ Then $\displaystyle\lim _{x \rightarrow 2 p^{+}}[f(x)]$, where [.] denotes greatest integer function, is
Solution: