The Total no. of balls = 5+8+4 = 17P(E) = (Number of favorable outcomes/ Total number of outcomes)So, Total number of red balls = 5P (red ball) = 5/17 = 0.29Thus, the probability of obtaining a red ball is 0.29.