Question #140820
How many bit strings of length 8 either start with 1 bit or end with 2 bits 0
1
Expert's answer
2020-11-02T20:45:54-0500

let A={1xxxxxxx}where x{0,1}\text {let }A=\{1xxxxxxx\}\text{where }x\isin\{0,1\}

A=27=128\vert{A}\vert=2^7=128

let B={xxxxxx00}where x{0,1}\text {let }B=\{xxxxxx00\}\text{where }x\isin\{0,1\}

B=26=64\vert{B}\vert=2^6=64

AB={1xxxxx00}where x{0,1}A\cap{}B=\{1xxxxx00\}\text{where }x\isin\{0,1\}

AB=25=32\vert{A\cap{}B}\vert=2^5=32

according to Inclusion-exclusion principle AB=A+BAB\text{according to Inclusion-exclusion principle }\vert{A\cup{}B}\vert=\vert{A}\vert+\vert{B}\vert-\vert{A\cap{}B}\vert

AB=128+6432=160\vert{A\cup{}B}\vert=128+64-32=160

Answer: 160



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS