Another iteration of this question came up, and I have an answer that isn't currently here. So I present yet another solution.
We want to show that $\int_{0} ^{\infty} \frac{\sin x }{x} \mathrm{d}x = \pi/2.$
First, let's show that it converges. We let $I_{ab} = \int_a^b \frac{\sin x}{x}$, and consider the limits $a \to 0, b \to \infty$. $a \to 0$ is easy, so we don't worry about it. $\frac{\sin x}{x}$ is continuous on this domain, so all we really want is for the upper limit to behave nicely.
Note that $I_{ab} = \int \frac{\sin x}{x} = \int \frac{1}{x} \frac{\mathrm{d} (1 - \cos x)}{\mathrm{d} x}$, and so we can use integration by parts. We then get
$$I_{ab} = \frac{1 - \cos b}{b} - \frac{1 - \cos a}{a} + \int_a^b \frac{1 - \cos x}{x^2}$$
This clearly converges. In fact, one can see that both $\cos$ terms disappear in the limit. It's more important to simply note that the integral converges.
Knowing that, we continue the trend of the other answers and show that $\displaystyle \int_0^{\pi/2}\frac{\sin(2n+1)x}{\sin x}dx=\frac\pi2$
We show the following: $$1 + 2 \cos 2t + 2 \cos 4t + \ldots + 2 \cos 2nt = \frac{\sin(2n + 1)t}{\sin t}$$
We do this with $\sin a - \sin b = 2 \sin(\frac{a-b}{2}) \cos(\frac{a + b}{2})$, so that we also get $\sin(2k + 1)t - \sin(2k -1)t = 2\sin(t) \cos (2kt)$. Thus $1 + 2 \cos 2t + \ldots + 2 \cos 2nt = 1 + \frac{1}{\sin t} \left[ \sum \sin(2k+1)t - \sin(sk-1)t \right] $
$\phantom{1 + 2 \cos 2t + \ldots + 2 \cos 2nt} = 1 + \frac{1}{\sin t} [\sin(2n + 1)t - \sin t]$
$\phantom{1 + 2 \cos 2t + \ldots + 2 \cos 2nt} = \frac{\sin(2n + 1)t}{\sin t}$
We did this just so that we could then say that
$$\int_0^{\pi/2} \frac{\sin (2n + 1)t}{\sin t} = \int_0 ^{\pi /2} (1 + 2 \cos 2t + 2 \cos 4t + \ldots + 2 \cos 2nt) = $$
$$\phantom{\frac{\sin (2n + 1)t}{\sin t}} = \frac{\pi}{2} + \left[ \sin 2t + \frac{\sin 4t}{2} + \ldots + \frac{\sin 2nt }{n}\right]_0^{\pi/2} = \frac{\pi}{2}$$
And thus we have it.