guys i have a doubt.

i want to integrate from -2pi to -pi and then from -pi to zero but i am not sure about the expression of the ramp decreassing from 4 to zero on the y axis and from -2pi to -pi.

from -pi to 0 i would just integrate the amplitude of 2 of the function.

regards