An urn contains $10$ balls numbered $1$ to $10$. A set of $3$ balls is drawn from the urn. Let $X$ record the largest number showing.
Compute $P(X=7)$.
I have to do this on excel. I'm assuming I have to use the combin() function, but I don't understand if this type of question is different from this question:
An urn contains $30$ red balls and 70 white balls. A set of 10 balls is drawn from the urn without replacement. Let $X$ count the number of red balls drawn from the urn. Find $P(x=4)$ where I use the hypgeom() function.