z integrate cos(3x) dx