Final answer:
The probability of drawing two black balls from the bag is 16/81.
Step-by-step explanation:
To calculate the probability of drawing two black balls, we first need to determine the total number of possible outcomes and the number of favorable outcomes. In this problem, there are a total of nine balls in the bag (five white and four black). When we draw the first ball, there are four black balls out of nine. After replacing the first ball, the probabilities remain the same, so when we draw the second ball, there is still a 4 out of 9 chance of getting a black ball.
To calculate the probability of both balls being black, we multiply the individual probabilities together. So, the probability is:
P(both black) = P(black on first draw) × P(black on second draw) = 4/9 × 4/9 = 16/81