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
Alexus [3.1K]
3 years ago
8

How many bitstrings of length 10 contain three consecutive 0’s or 4 consecutive 1’s? How many bitstrings of length 10 contain tw

o sets of 3 consecutive 0’s or two sets of 3 consecutive 1’s?
Mathematics
1 answer:
Yuki888 [10]3 years ago
7 0

Answer:

147 bitstrings.

Step-by-step explanation:

To start with, we will compute the number of bit strings that has 3 consecutive 0's.

For each of the consecutive 0's, they can start at either 1st, 2nd, 3rd or 4th positions (because there are eight positions)

If we begin from the 1st position, there will be strings in the form of 000xxxxx

The other positions can be anything, count= 25 =32.

If we begin from the 2nd position, there will be strings in the form of 1000xxxx.

Note that the 1st position must contain 1, otherwise there will be more than one count strings.

The remaining 4 positions can be anything, count= 24 = 16.

If we begin from the 3rd position, there will be strings in the form of x1000xxx.

Note that the 2nd position must contain 1, or there will be more than one count strings as in the first scenario.

The remaining 4 positions can be anything, count= 24=16.

If we begin from the 4th, 5th, or 6th position, it would be the same analysis.

Therefore,

total count= 32 + 16 + 16 + 16 + 16 +16 = 112.

From the analysis done so far, we have double counted these 5 strings: 00010000, 00010001, 00001000, 00011000, 10001000

So, the actual strings that contain 3 consecutive 0's is 112-5 = 107.

If we also calculate the number of strings with 4 consecutive 1's, we will have: 16 + 8 + 8 + 8 + 8 = 48.

Therefore, there are 8 strings that we have double counted and they are: 11110000, 11110001, 11111000, 01111000, 00011110, 00011111, 00001111, 10001111.

So, for our final answer, the total number of bit strings of length 8 that contain either three consecutive 0's or four consecutive 1's is 107 + 48 - 8= 147.

You might be interested in
22. Geography The average elevation of the city of New Orleans, Louisiana, is 0.5 m below sea level. The highest point in Louisi
Vikki [24]
Driskill Mountain is 163.5m-.5m = 163m above sea level. 
8 0
3 years ago
2+2 ................
lutik1710 [3]
2+2 = 4. Bro it was so hard. Did i helped you?
6 0
4 years ago
Read 2 more answers
What is the diameter of a hemisphere with a volume of 7834 cm^3, to the nearest tenth of a centimeter
tatyana61 [14]

Answer:

Step-by-step explanation:

Volume=7834cm^{3}\\\\\frac{2}{3}*\pi *r^{3}=7834\\\\\frac{2}{3}*3.14 *r^{3}=7834\\\\r^{3}=\frac{7834*3}{2*3.14}\\\\r^{3}=3742.36\\\\r=\sqrt[3]{3742.36}\\\\

r =15.53 cm

4 0
3 years ago
I will give 10 brainliast to anyone who answers this!!! plz help
Usimov [2.4K]

Answer:

0.007mph

Step-by-step explanation:

Just divide the speed by the time, and you've got it!

1/4=0.25

0.25/36=0.007mph

4 0
3 years ago
which one of the following examples represents a repeating decimal A. 1.111114 B. 0.777777 C. 4.252525 D. 0.123123
elena-s [515]
Actually, i think something is missing here:

You need either a parenthesis or some dots at the end to determine this. A repeating decimal can have one repreating digit:

0.(7): 0.777777...

two:

0.(45): 0.45454545454545....

or more: so potentially all of them can be repeating, even a!

it could be: 1.(111114)

or: 1.111114111114111114111114111114111114111114111114111114111114111114111114111114...

proably B. is the most typical of repeating decimals (choosed this one if you have to), but in reality, you need more information... did you copy the question exactly?
7 0
4 years ago
Other questions:
  • 72:24=15:__ Please Help Me Solve This Math Problem!
    7·1 answer
  • What is 5×20+2raised to the power 2​
    11·1 answer
  • Is this a function or no
    13·2 answers
  • Solve each trigonometric equation such that 0 ≤ x ≤ 2????. Give answers in exact form.
    6·1 answer
  • A triangle has a 90° angle, and the other two interior angles are congruent. Explain how to find the measure of one of the two c
    13·2 answers
  • Can you help me out with this one?
    6·2 answers
  • Use the point P(3, —6). Write the ordered pair for the final location of the given point after completing the transformations in
    14·1 answer
  • A savings account earns 4.5% simple interest per year. If $650 is deposited and no withdrawals are made during one year, how muc
    10·2 answers
  • Profit is always calculated as revenue minus expenses. If a company's expenses were $10 million, write an equation that expresse
    8·1 answer
  • Find the distance between the points.? <br><br> Help 40 points!!!
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!