1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lakkis [162]
3 years ago
10

How many bit strings of length 15 have bits 1, 2, 3 equal to 101, or have bits 12, 13, 14, 15 equal to 1001 or have bits 3, 4, 5

, 6 equal to 1010?
Mathematics
1 answer:
lesya [120]3 years ago
4 0
This is an excellent practice on the law of inclusion/exclusion.
For example, using | | to represent cardinality (i.e. count in the set)
|A∪B∪C|=|A|+|B|+|C|-|A∩B|-|B∩C|-|C∩A|+|A∩B∩C|.
I am not allowed to provide a link, but if you could use some additional reading, google "wiki Inclusion–exclusion_principle" and the first wiki entry should explain that in more detail.

Here we have
A=the set of 15bit numbers starting with 101xxxx...
B=the set of 15bit numbers starting with xx1010xxxx...
C=the set of 15bit numbers ending with xxxxxxxxxxx1001
A∩B=101010xxxxx
B∩C=101xxxxx...xxx1001
C∩A=xx1010xx...xxx1001
A∩B∩C=101010xxxxx1001

Therefore
|A|=2^12  (there are 12 bits left)
|B|=2^11  (there are 11 bits left)
|C|=2^11  (there are 11 bits left)
|A∩B|=2^9 (9 bits left)
|B∩C|=2^8 (8 bits left)
|C∩A|=2^7 (7 bits left)
|A∩B∩C|=2^5 (5 bits left)

Applying the inclusion/exclusion principle,
|A∪B∪C|
=|A|+|B|+|C|-|A∩B|-|B∩C|-|C∩A|+|A∩B∩C|
=2^12+2^11+2^11-2^9-2^8-2^7+2^5
=7328
You might be interested in
If line n bisects segment CE, find the positive value of x.<br><br> A.6<br> B.10<br> C.15<br> D.9
givi [52]

9514 1404 393

Answer:

  D.  9

Step-by-step explanation:

The segment lengths are equal, so ...

  x^2 = 90-x

  x^2 +x -90 = 0 . . . . . . add x-90 to put in standard form

  (x +10)(x -9) = 0 . . . . . factor

The solutions are the values of x that make the factors zero: -10, 9.

The positive value of x is 9.

8 0
3 years ago
Read 2 more answers
Find the product.<br><br> (-5a ^2)^3 · a^5
GrogVix [38]

Answer:

<u><em>−125a^(11)</em></u>

Step-by-step explanation:

<u><em>(−5a^(2)3a^(5) Then you solve</em></u>

<u><em>=−125a^(11)</em></u>

4 0
4 years ago
pls help look at attached image choose any problem u would like to do this is for my middle school math class again pls help and
Sonbull [250]
Can you take a picture again I can’t see anything
3 0
1 year ago
Read 2 more answers
On a coordinate plane, solid circles appear at the following points: (negative 5, negative 3), (negative 4, negative 4), (negati
7nadin3 [17]

Answer:

(1 , 3) B.)

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
Your friend has 5 more then twice as many game tokens as your sister. Let T be the number of game tokens your sister has. Write
olga_2 [115]
5+2t because 5 more then is adding 5 and twice as many is doubling or multiplying by 2
Hope this helps and please rate as brainliest!!! thx!!! ;)
6 0
4 years ago
Read 2 more answers
Other questions:
  • How to write 15,409 in word form
    13·2 answers
  • Whatthe answer need help!ASAP.Thank you.
    14·2 answers
  • Please help!! Kyra is using rectangular tiles of two types for a floor design. A tile of each type is shown below: Which stateme
    10·1 answer
  • Simplify: 7(-8y)+4(-6+6y)
    6·2 answers
  • How would you solve 2-3÷(-1)×9
    6·1 answer
  • Can someone pleaseeee help and if you’re correct i’ll give brainliest
    11·2 answers
  • PLEASE HELP, MARKING BRAINLIEST!! <br><br> if 4m = 9n, then m/n=
    5·1 answer
  • PLS I beg someone to finish ALL of this :(. I’ve stayed up all night to do this but I couldn’t figure all of them out. Pls pls p
    13·2 answers
  • A typical cell phone plan has a fixed base fee that includes a certain amount of data and an overage charge for data use beyond
    7·1 answer
  • In an election, the population consists of the people who voted. Although there is overall data on how the population voted, the
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!