We are given the functional equation $f(x+a) = \frac{1}{2} + \sqrt{f(x) - (f(x))^2}$ for a real-valued function $f(x)$, where $a > 0$. We need to find the period of $f(x)$.
For a real number $y$, consider $[y]$ denotes the greatest integer less than or equal to $y$.
If $f(x) = \frac{\tan(\pi[x-\pi])}{1+[x]^2}$, then
Let $[t]$ denote the greatest integer less than or equal to $t$. If the function
$f(x) = \begin{cases} b^2 \sin \left( \frac{\pi}{2} \left[ \frac{\pi}{2} (\cos x + \sin x) \cos x \right] \right), & x < 0 \\ \frac{\sin x - \frac{1}{2} \sin 2x}{x^3}, & x > 0 \\ a, & x = 0 \end{cases}$
is continuous at $x = 0$, then $a^2 + b^2$ is equal to