If $f(x)= (x-a)(x-b)$ for $a,b$ $\in \mathbb{R}$ then the minimum number of roots of equation $$\pi(f'(x))^2 \cos(\pi(f(x))) + \sin(\pi(f(x)))f''(x) =0$$
in $(\alpha,\beta)$ where $f(\alpha) =+3 = f(\beta)$ and $\alpha <a<b<\beta$ will be:
If $f(x)= (x-a)(x-b)$ for $a,b$ $\in \mathbb{R}$ then the minimum number of roots of equation $$\pi(f'(x))^2 \cos(\pi(f(x))) + \sin(\pi(f(x)))f''(x) =0$$
in $(\alpha,\beta)$ where $f(\alpha) =+3 = f(\beta)$ and $\alpha <a<b<\beta$ will be:
Hint You can rewrite that equation as $$\frac{d}{dx}\left(\sin(\pi f(x))f'(x)\right)|_{x=x^*} = 0$$
Consider the function $g(x) = \sin (2\pi x -\pi(a+b))(2x - (a+b))$
Between any two roots of this function, there will be at least one point at which derivative vanishes (Rolle's theorem). Find the number of roots in $(\alpha, \beta)$ and it would be one less than that