I'm trying to follow along with my textbook's proof of $\pi$ being irrational. One step in the proof (which my book takes for granted) confuses me. It states that, for each positive integer $n$,
$$0 < \int\limits_0^\pi \frac{(px-qx^2)^n}{n!}\hspace{3pt}\sin(x) \hspace{3pt}dx < \pi \cdot \frac{p^n}{n!}$$
where $\pi = p/q$ (this is a proof by contradiction).
I was able to manipulate the integral, using simple algebra, as follows:
$$\frac{q^n}{n!}\int\limits_0^\pi x^n(\pi-x)^n\hspace{3pt}\sin(x) \hspace{3pt}dx$$
Any hints as to how I might prove this inequality from here?