4: Since
f
(
x
) ≥ 0
on the given range, you can directly integrate.
Next hint
Answer