Answer:
The probability that a randomly selected shot either hits the rim or goes in is 0.31.
Explanation:
The probability of the union of two events A and B is given by:

Denote the events as follows:
X = the ball hits the rim
Y = the ball goes in
The information provided is:
P (X) = 0.19
P (Y) = 0.17
P (X ∩ Y) = 0.05
Compute the value of P (X ∪ Y) as follows:


Thus, the probability that a randomly selected shot either hits the rim or goes in is 0.31.