題組內容

1. 假設函數定義如下:$f(x) = \begin{cases} x, & \text{if } 0 \leq x \leq 1 \\ 2 - x, & \text{if } 1 < x \leq 2 \end{cases}$。

(b) 並求 $\int_0^2 f(x) \, dx = ?$ (5 分)