Step 1: Solving the differential equation.
We solve the differential equation \( \frac{dy}{dx} + y = f(x) \) using the method of integrating factors. For \( 0 \leq x < 1 \), the forcing term \( f(x) = 2 \), and for \( x \geq 1 \), \( f(x) = 0 \).
Step 2: Calculating the solution.
For \( 0 \leq x < 1 \), the solution is:
\[
y(x) = 2(1 - e^{-x})
\]
For \( x \geq 1 \), the solution is:
\[
y(x) = 2(e^{-x} - 1)
\]
Step 3: Conclusion.
The correct answer is (A) \( 2(1 - e^{-x}) \) when \( 0 \leq x < 1 \) and \( 2(e^{-x} - 1) \) when \( x \geq 1 \).
Let \( f : [1, \infty) \to [2, \infty) \) be a differentiable function. If
\( 10 \int_{1}^{x} f(t) \, dt = 5x f(x) - x^5 - 9 \) for all \( x \ge 1 \), then the value of \( f(3) \) is ______.