A machine produces items where the probability of a defective item is \(p=0.2\).
Let \(X\) be the trial number of the first defective item.
\(X \sim \text{Geo}(0.2)\)
Find \(P(X=4)\).
Step 1: Substitute into the formula
\[
P(X=4) = (1-0.2)^{3}(0.2)
\]
Step 2: Calculate
\[
P(X=4) = (0.8)^3(0.2)
\]
\[
P(X=4) = 0.1024
\]