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]
2 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]2 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
Use the identity tan(theta) = sin(theta) / cos(theta) to show that tan(???? + ????) = tan(????)+tan(????) / 1−tan(????) tan(????
VMariaS [17]

Answer:

See the proof below.

Step-by-step explanation:

For this case we need to proof the following indentity:

tan(x+y) = \frac{tan (x) + tan(y)}{1- tan(x) tan(y)}

So we need to begin with the definition of tangent, we know that tan (x) =\frac{sin(x)}{cos(x)} and we can do this:

tan (x+y) = \frac{sin (x+y)}{cos(x+y)}   (1)

We also have the following identities:

sin (a+b) = sin (a) cos(b) + sin (b) cos(a)

cos(a+b)= cos(a) cos(b) - sin(a) sin(b)

Now we can apply those identities into equation (1) like this:

tan (x+y) =\frac{sin (x) cos(y) + sin (y) cos(x)}{cos(x) cos(y) - sin(x) sin(y)}   (2)

We can divide numerator and denominator from expression (2) by \frac{1}{cos(x) cos(y)} we got this:

tan (x+y) = \frac{\frac{sin (x) cos(y)}{cos (x) cos(y)} + \frac{sin(y) cos(x)}{cos(x) cos(y)}}{\frac{cos(x) cos(y)}{cos(x) cos(y)} -\frac{sin(x)sin(y)}{cos(x) cos(y)}}

And simplifying we got:

tan (x+y) = \frac{tan(x) + tan(y)}{1-tan(x) tan(y)}

And that complete the proof.

8 0
3 years ago
I need help ASAP please!! Giving brainliest!!
Schach [20]

Answer:

the second one

Step-by-step explanation:

did this in 6th grade

8 0
2 years ago
Read 2 more answers
<img src="https://tex.z-dn.net/?f=%20%5Cunderline%7B%20%5Cunderline%7B%20%5Ctext%7Bquestion%7D%7D%7D%20%3A%20" id="TexFormula1"
Inga [223]

Answer:

y=-\sqrt{3}x+2

Step-by-step explanation:

We want to find the equation of a straight line that cuts off an intercept of 2 from the y-axis, and whose perpendicular distance from the origin is 1.

We will let Point M be (x, y). As we know, Point R will be (0, 2) and Point O (the origin) will be (0, 0).

First, we can use the distance formula to determine values for M. The distance formula is given by:

\displaystyle d=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

Since we know that the distance between O and M is 1, d=1.

And we will let M(x, y) be (x₂, y₂) and O(0, 0) be (x₁, y₁). So:

\displaystyle 1=\sqrt{(x-0)^2+(y-0)^2}

Simplify:

1=\sqrt{x^2+y^2}

We can solve for y. Square both sides:

1=x^2+y^2

Rearranging gives:

y^2=1-x^2

Take the square root of both sides. Since M is in the first quadrant, we only need to worry about the positive case. Therefore:

y=\sqrt{1-x^2}

So, Point M is now given by (we substitute the above equation for y):

M(x,\sqrt{1-x^2})

We know that Segment OM is perpendicular to Line RM.

Therefore, their <em>slopes will be negative reciprocals</em> of each other.

So, let’s find the slope of each segment/line. We will use the slope formula given by:

\displaystyle m=\frac{y_2-y_1}{x_2-x_1}

Segment OM:

For OM, we have two points: O(0, 0) and M(x, √(1-x²)). So, the slope will be:

\displaystyle m_{OM}=\frac{\sqrt{1-x^2}-0}{x-0}=\frac{\sqrt{1-x^2}}{x}

Line RM:

For RM, we have the two points R(0, 2) and M(x, √(1-x²)). So, the slope will be:

\displaystyle m_{RM}=\frac{\sqrt{1-x^2}-2}{x-0}=\frac{\sqrt{1-x^2}-2}{x}

Since their slopes are negative reciprocals of each other, this means that:

m_{OM}=-(m_{RM})^{-1}

Substitute:

\displaystyle \frac{\sqrt{1-x^2}}{x}=-\Big(\frac{\sqrt{1-x^2}-2}{x}\Big)^{-1}

Now, we can solve for x. Simplify:

\displaystyle \frac{\sqrt{1-x^2}}{x}=\frac{x}{2-\sqrt{1-x^2}}

Cross-multiply:

x(x)=\sqrt{1-x^2}(2-\sqrt{1-x^2})

Distribute:

x^2=2\sqrt{1-x^2}-(\sqrt{1-x^2})^2

Simplify:

x^2=2\sqrt{1-x^2}-(1-x^2)

Distribute:

x^2=2\sqrt{1-x^2}-1+x^2

So:

0=2\sqrt{1-x^2}-1

Adding 1 and then dividing by 2 yields:

\displaystyle \frac{1}{2}=\sqrt{1-x^2}

Then:

\displaystyle \frac{1}{4}=1-x^2

Therefore, the value of x is:

\displaystyle \begin{aligned}\frac{1}{4}-1&=-x^2\\-\frac{3}{4}&=-x^2\\ \frac{3}{4}&=x^2\\ \frac{\sqrt{3}}{2}&=x\end{aligned}

Then, Point M will be:

\begin{aligned} \displaystyle M(x,\sqrt{1-x^2})&=M(\frac{\sqrt{3}}{2}, \sqrt{1-\Big(\frac{\sqrt{3}}{2}\Big)^2)}\\M&=(\frac{\sqrt3}{2},\frac{1}{2})\end{aligned}

Therefore, the slope of Line RM will be:

\displaystyle \begin{aligned}m_{RM}&=\frac{\frac{1}{2}-2}{\frac{\sqrt{3}}{2}-0} \\ &=\frac{\frac{-3}{2}}{\frac{\sqrt{3}}{2}}\\&=-\frac{3}{\sqrt3}\\&=-\sqrt3\end{aligned}

And since we know that R is (0, 2), R is the y-intercept of RM. Then, using the slope-intercept form:

y=mx+b

We can see that the equation of Line RM is:

y=-\sqrt{3}x+2

6 0
3 years ago
Read 2 more answers
Assume these are weekly. Matthew worked 8 hours at $9 a hour. Taxes were 16%. How much money was left?
guapka [62]

Number of hours worked: 8

earning per hour = $9

tax = 16%

First, multiply the number of hours by the earnings per hour:

8 x 9 = $72 (total earnings)

Now, find the tax amount by multiplying the total earnings by the tax percentage in decimal form (divided by 100)

72 x (16/100)= 72 x 0.16 = $11.52

Finally, subtract the tax amount to the total earnings:

Money left: 72-11.52 = $ 60.48

6 0
1 year ago
C. Find the value of x below:<br> 15.r + 5<br> -2 + 16.
nydimaria [60]

Answer:

7

Step-by-step explanation:

(15x + 5) and (-2 + 16x) represents the measures of corresponding angles.

Measures of corresponding angles are equal.

Therefore,

- 2 + 16x = 15x + 5

16x - 15x = 5 + 2

x = 7

5 0
3 years ago
Other questions:
  • 35 workers are employed to complete the construction in 16 days. Before the work starts, he is told to complete the task in 14 d
    8·1 answer
  • What is the mean?<br> 69 71 85<br> 96<br> 93 78 89
    15·1 answer
  • Which of the following best describes the number of solutions to the system of equations below?
    11·2 answers
  • Quickly
    10·1 answer
  • Kims age was twice that of her sister. When you add Kim's age to her sisters age you, you get 36. How old is each sister?
    12·1 answer
  • Find the value of x please help<br>Will give brainliest​
    15·1 answer
  • Plz help I’m not good with math!!
    11·1 answer
  • PLEASE HELP WILL MARK BRAINLIEST!!!
    15·2 answers
  • Flag Consider the following preference table. 22 41 50 1st choice Kelly Jack Kelly 2nd choice Diane Diane Bill 3rd choice Bill K
    9·2 answers
  • Answer for 17 please???????????
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!