\displaystyle\tilde{D}(x)=\sum_{k=1}^n\sin{kx}