00:01
Hello everyone, so in this key one question, we have a bit string which is of 10 length 10, right? so 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, right? so it has a length 10.
00:15
We have been asked the number of possibilities where either consecutive 5 zeros or 5 ones are there, right? so the number of cases with either 5 zeros or the number of cases with either 5 ones.
00:30
Are same only right so first we will find the number of possibilities with five consecutive zeros right so here one thing that we the approach is first of all the five consecutive zeros can start from either first second third fourth fifth or sixth place right so the five consecutive zeros can either start from 1, 2, 3, 4, 5 or 6th place.
01:10
So first, starting at starting from first place.
01:20
Starting from first place means that the 5 consecutive zeros will be at the starting.
01:26
So the bit string would be in the form of 0 ,000, 0 .0.
01:34
And the remaining 5 strings can be anything.
01:37
So the total number of possibilities would be since these 5 positions can be anything.
01:48
So the number of possibilities are 2 to the power 5.
01:51
Now if the consecutive zeros are starting from the second place...