Suppose we send $n$ packets over the Internet and assume that all $n$ packets are routed along the same path, and with probability $p$, one of the links along the path fails and all $n$ packets are lost. Otherwise all packets are received..
What kind of distributions is this and how to compute the distribution and expectation of this model.
I have something like:
Let $X$ be the random variable of the number of packets loss. And $X$ can only be 0 or $n$. So $P(X=0) = (1-p)^n$ and $P(X=n) = p$. But I don't recognize this distribution and don't really know how to compute the expectation of this if this is correct distribution.
Any help? Please