Was hoping someone could just provide a logic check of my work, as some of my results did not match up to answers I saw online.
Let $X_{n}$ denote the maximum of n independent dice rolls. Let's first find the CDF:
$P(X_{n}\leq x) = \prod P({X_{i}} \leq x) = \left (\frac{x}{6} \right )^{n}$
Now we can take the derivative to find the PDF:
$= n * \frac{1}{6} * \left (\frac{x}{6} \right )^{^{n-1}}$
Now we can integrate to find the expected value:
$ =\int_{1}^{6} x*n * \frac{1}{6} * x^{n-1} * \frac{1}{6}^{n-1} dx =\int_{1}^{6} n * x^{n} * \frac{1}{6}^{n} dx = \frac{n}{n+1} * \left (\frac{1}{6} \right )^{n} * x^{n+1} $
And then we evaluate the definite integral at x = 6 - x = 1 (sorry I'm really bad with LateX)
Does this look right?