$ x(t)=\left\{\begin{array}{ll}1, & \text{ if }|t|<T,\\ 0, & \text{else.}\end{array} \right. \longrightarrow {\mathcal X}(\omega)=\frac{2 \sin \left( T \omega \right)}{\omega} $
$ x(t)=\left\{\begin{array}{ll}1, & \text{ if }|t|<T,\\ 0, & \text{else.}\end{array} \right. \longrightarrow {\mathcal X}(\omega)=\frac{2 \sin \left( T \omega \right)}{\omega} $