Let f(x)={-2,-2≤x≤0x-2,0<x≤2 and h(x)=f(|x|)+|f(x)|. Then ∫-22h(x) dx is equal to [2024]
(2)
f(x)={-2,-2≤x≤0x-2,0<x≤2
h(x)=f(|x|)+|f(x)|
f(|x|)={-x-2,-2≤x≤0x-2,0<x≤2
|f(x)|={2,-2≤x≤0-(x-2),0<x≤2
So, h(x)={-x-2+2=-x,-2≤x≤0x-2-(x-2)=0,0<x≤2
∴ ∫-22h(x) dx=∫-20-x dx+∫020 dx
=-[x22]-20=-[0-42]=2