00:01
Okay, so in this case we need to count how many bit strings of land tender are that either begin with three zeros or with or end with two zeros.
00:11
Okay, so that means when you have here the word or that means that in this case we need to count all the strings that either begins with three zero.
00:24
So let me create some notation.
00:27
So it begins begins with the zeros or end with the zeros okay so the number of a strings that begins with the three zeros or end with the two zeros it's going to be equals to what well to the all the possible arrangements so that's going to be the total all the possibilities so this is all the possibilities sorry it's a good confused so this is going to be equals to all the strings that begins with the zeros with the three zeros plus the strings that end with the zeros and minus the intersection that are those strings that begin with the zeros and end with the two zeros why basically is just by the set theory you have here the set that begins with the three zeros here the set that end with the three zeros and if you sum them you have all the set but you're counting twice here the intersection so you need to from here subtract the intersection that is or are all those strings that begin with the three zeros and end with the two zeros okay so we need to count separately all these quantities so let's start with s b no this is the set with the number of possibilities or arranges or ways of a string with that begins with three zeros okay so the length of our string is 10 so we have here three four that that that until 10 so the length of the string of our string is 10 and the the first three positions are going to be fixed by the three zeros.
02:36
So we end with a remaining of seven positions that are free of choice.
02:46
So at each position because it is a bit string we can put either one or zero.
02:52
So we have two possibilities here and in the next we have two possibilities and so on.
02:57
So this sbo, those strings that begin with three zeros are going to be two to the seven all the possible ways to arrange these kind of strings the other is as that s e and no that are the all the possible ways or possibilities of a strings that and with two zeros okay so so in this case is really similar to the previous one...