Question 333881
total number of balls= 3+5+4=12
--
P(selecting two balls with replacement of the same color)
= P(RR)+P(BB)+P(YY)=(3/12)*(3/12)+(5/12)*(5/12)+(4/12)*(4/12)
=(1/4)^2 + (5/12)^2 + (1/3)^2=1/16+25/144+1/9=0.347