Hello!!
In a box there are 10 balls, 3 blue and 7 red. We take 9 balls with replacement. Which is the probability that we get exactly 5 red balls?
This is equal to $$\binom{9}{5}\cdot \left (\frac{7}{10}\right )^5\cdot \left (\frac{3}{10}\right )^4$$ since we use here the formula $$P(X=k)=\binom{n}{k}\cdot p^k\cdot p^{n-k}$$ right?