Compute the error probability obtained with a (7, 4) Hamming code on an AWGN channel, for both…

Compute the error probability obtained with a (7, 4) Hamming code on an AWGN channel, for both hard decision and soft decision decoding. Use Equations 7.4–18, 7.4–19, 7.5–6, and 7.5–18.