
Mike D. answered 09/14/20
BSc Mathematics MSc Operational Research
Well if there are n+1 bits including the parity bit, the chance that no bits have been corrupted is
(1-e)n+1
Probability of 1 bit being corrupted out of (n+1) = (n+1) e (1-e) n
This is because we can choose the 1 bit in (n+1) ways, and having done that the probability of that being corrupted is e, and probability of the other n being non corrupted is (1-e)n
So probability of message received correctly = (n+1) e (1-e)n + (1-e) n+1 > 1-d
e = 0.0002, d = 0.01
(n+1) 0.0002 (0.9998)n + (0.9998)n+1 > 0.99
You will have to experiment with some numbers here
Mike