Let \( f : (0, \infty) \to \mathbb{R} \) be a twice differentiable function. If for some \( a \neq 0 \), } \[ \int_0^a f(x) \, dx = f(a), \quad f(1) = 1, \quad f(16) = \frac{1}{8}, \quad \text{then } 16 - f^{-1}\left( \frac{1}{16} \right) \text{ is equal to:}\]
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
(i) Find the probability that it was defective.