Explanation:
We define 3 events
A = event that driver is above speed limit
B = event that driver is below limit
T = event that the gun detected him
At 95%
P(A) = 1-0.95 = 0.05
P(B) = 0.95
P(T|A) = 0.98
P(A|T) = 0.02
P(T|B) = 1-0.99 = 0.01
P(B|T) = 0.99
1. For answer a
P(TnA) = P(A) x P(T|A)
= 0.05 x 0.98
= 0.049 is the probability gun detected speeding and the driver was speeding
2. For answer b
P(TnB) = P(B) x P(T|B)
= 0.95x0.01
= 0.0095 is probability that gun deects speeding and driver was not speeding
3. For answer c
We solve this using bayes theorem
P(B|T) = P(B) x P(T|B) / (P(B)*P(T|B)) + (P(A) +P(T|A))
= 0.095x0.01 divided by (0.95x0.01)+(0.05*0.98)
= 0.0095 divided by 0.0585
= 0.16239
= 0.1624 to 4 decimal places.