g is periodic of period 2piand, for x 2 (−pi, pi] are

given by the formulae:

g(x) = 0, -pi < x </= 0

sin x 0 < x < pi

I really dont understand how to go about this, since it seems neither to be an even or odd function. Do I need to integrate separately over -pi to 0 and then 0 to pi?

many thanks