For continuity at \(x = 0\), the left-hand limit, right-hand limit, and function value at \(x=0\) must be equal: \( \lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0) \).
Left-hand limit evaluation:
\[ \lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} \frac{1 - \cos 2x}{x^2} = 2 \]
This establishes \( f(0) = \alpha = 2 \).
Right-hand limit evaluation:
\[ \lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} \frac{\beta \sqrt{1 - \cos x}}{x} = \frac{\beta}{\sqrt{2}} \]
Equating the right-hand limit to \( f(0) \):
\[ \frac{\beta}{\sqrt{2}} = 2 \implies \beta = 2\sqrt{2} \]
Calculation of \( \alpha^2 + \beta^2 \):
\[ \alpha^2 + \beta^2 = 2^2 + (2\sqrt{2})^2 = 4 + 8 = 12 \]