Consider the sequence whose $n$ th term is given by the following. In each case, determine the limit of the sequence by expressing the $n$ th term as a Riemann sum for a suitable function.
(i) $\frac{1}{n^{17}} \sum_{i=1}^{n} i^{16}$,
(ii) $\frac{1}{n^{5 / 2}} \sum_{i=1}^{n} i^{3 / 2}$,
(iii) $\sum_{i=1}^{n} \frac{1}{\sqrt{i n+n^{2}}}$,
(iv) $\frac{1}{n}\left\{\sum_{i=1}^{n}\left(\frac{i}{n}\right)+\sum_{i=n+1}^{2 n}\left(\frac{i}{n}\right)^{3 / 2}+\sum_{i=2 n+1}^{3 n}\left(\frac{i}{n}\right)^{2}\right\}$.