fourier transform of triangular pulse using differentiation