2. (25 points) Statistical Independence, Conditional Probability, and Total Probability
(a) A detection device consists of three sensors, each with a probability p = 0.95 of detecting a certain chemical, such as carbon monoxide, when it is present, independent of the other two sensors. The device sounds an alarm if a majority of the sensors detect the chemical. What is the probability that the device successfully detects the chemical if it is present?