To solve the given problem, we need to evaluate the limit:
\(\lim_{{x \to \frac{\pi}{2}^-}} g(x)\), where \(g(x) = \int_{x}^{\frac{\pi}{4}} \left(f'(t)\sec(t) + \tan(t)\sec(t)f(t)\right) \, dt\).
Let's break this down step-by-step:
- We know that the function \(f\) is differentiable and is given by the points \(f(\frac{\pi}{4})=\sqrt{2}\) and \(f(\frac{\pi}{2})=0\) with the derivative at \(\frac{\pi}{2}\), \(f'(\frac{\pi}{2})=1\).
- Substitute \(\tan(t) = \frac{\sin(t)}{\cos(t)}\) and \(\sec(t) = \frac{1}{\cos(t)}\) in the integrand \(f'(t)\sec(t) + \tan(t)\sec(t)f(t)\), resulting in:
\[f'(t)\sec(t) + \tan(t)\sec(t)f(t) = f'(t)\frac{1}{\cos(t)} + \frac{\sin(t)}{\cos(t)^2}f(t)\]- The limit of the integral as \(x \to \frac{\pi}{2}^-\) transforms it into:
\[\lim_{{x \to \frac{\pi}{2}^-}} \int_{x}^{\frac{\pi}{4}} \left(f'(t)\frac{1}{\cos(t)} + \frac{\sin(t)}{\cos(t)^2}f(t)\right) \, dt\]- As \(x \to \frac{\pi}{2}^-\), the integration region shrinks from \(\frac{\pi}{4}\) to almost \(\frac{\pi}{2}\).
- Consider evaluating the contributions of these terms near \(\frac{\pi}{2}\), where one might approximate \(f'(\frac{\pi}{2}) = 1\) and \(f(\frac{\pi}{2}) = 0\).
- This integral evaluates the behavior of the function in the domain going up to \(\frac{\pi}{2}\). Given the limits and utilizing L'Hôpital's Rule if necessary, the calculations yield that the limit approaches:
Thus, \(\lim_{{x \to \frac{\pi}{2}^-}} g(x) = 3\).
Hence, the correct answer is 3.