Two shots are fired independently at a target. The probability of hitting the target on each shot is p. The following two random variables are considered.
- X, the difference between the number of hits and the number of misses,
- Y, the total sum of the number of hits and number of misses.
Find for each an expression for mean and variance.
any help would be appreciated. Thanks.