The following is Ivan Niven's simple proof that $\pi$ is rational:

Here I didn't understand this part:
For $0\lt x\lt \pi,$ $$0\lt f(x)\sin x\lt {\pi^na^n\over n!}$$
First of all how he concluded this inequality? Secondly knowing that for sufficiently large n, the integral in (1) is arbitrarily small ; how he concluded that (1) is false and thus $\pi$ is irrational?
For $0 < x < π$, note that $\displaystyle π = \frac{a}{b}$, \begin{align*}0 < f(x) \sin x \leqslant f(x) &= \frac{1}{n!} x^n (a - bx)^n = \frac{1}{n!} \left(-b\left(x - \frac{a}{2b}\right)^2 + \frac{a^2}{4b}\right)^n\\ &\leqslant \frac{1}{n!} \left(\frac{a^2}{4b}\right)^n = \frac{1}{n!} \left(\frac{πa}{4}\right)^n < \frac{π^n a^n}{n!}. \end{align*}
For the second question, a positive integer must be at least $1$, but the integral tends to $0$ when $n \to \infty$, which is a contradiction.