document.write( "Question 1175303: How many 12-bit strings (that is, bit strings of length 12) are there which:
\n" );
document.write( "have weight 7 and either start with 011 or end with 01 (or both)? \r
\n" );
document.write( "\n" );
document.write( "There were three questions before this which I have worked the answers to, but I'm confused for this part.
\n" );
document.write( "Other questions:
\n" );
document.write( "a. Q. Start with the sub-string 001? A. 2^9
\n" );
document.write( "b. Q. Have weight 7 (i.e., contain exactly 7 1's) and start with the sub-string 001? A. C(9,5)
\n" );
document.write( "c. Q. Either start with 011 or end with 01 (or both)? A. 2^9 + 2^10 - 2^7 \n" );
document.write( "
Algebra.Com's Answer #800903 by ikleyn(52781)![]() ![]() You can put this solution on YOUR website! . \n" ); document.write( "How many 12-bit strings (that is, bit strings of length 12) are there which: \n" ); document.write( "have weight 7 and either start with 011 or end with 01 (or both)?\r \n" ); document.write( "\n" ); document.write( "There were three questions before this which I have worked the answers to, but I'm confused for this part. \n" ); document.write( "Other questions: \n" ); document.write( "a. Q. Start with the sub-string 001? A. 2^9 \n" ); document.write( "b. Q. Have weight 7 (i.e., contain exactly 7 1's) and start with the sub-string 001? A. C(9,5) \n" ); document.write( "c. Q. Either start with 011 or end with 01 (or both)? A. 2^9 + 2^10 - 2^7 \n" ); document.write( "~~~~~~~~~~~~~~~~\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let me rewrite the problem (the first two lines) in a way understandable for ANYONE.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( " The word of 12 symbols is written using symbols \"1\" and \"0\".\r\n" ); document.write( "\r\n" ); document.write( " How many such words do exist, having 7 symbols \"1\" and \r\n" ); document.write( "\r\n" ); document.write( " (a) starting from \"011\" ?\r\n" ); document.write( "\r\n" ); document.write( " (b) ending with \"01\" ?\r\n" ); document.write( "\r\n" ); document.write( " (c) starting from \"011\" and ending with \"01\".\r\n" ); document.write( "\r\n" ); document.write( " Questions (a), (b) and (c) are three SEPARATE questions.\r\n" ); document.write( "\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now everything is clear. See my solution below.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Solution\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( "(a) Three leftmost positions are just occupied and, THEREFORE, are not the subject of consideration.\r\n" ); document.write( "\r\n" ); document.write( " For the rest 12-3 = 9 positions, we have 7-2 = 5 \"ones\" to distribute.\r\n" ); document.write( "\r\n" ); document.write( " We can choose these 5 positions for \"ones\" from 9 positions by\r \n" ); document.write( "\n" ); document.write( "Solved. All questions (a), (b) and (c) are answered.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Is everything clear to you from my post ?\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If you still have questions, then let me know.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "/\/\/\/\/\/\/\/\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "It is how a Math problem should be presented and solved.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Crystally clear for EVERYONE.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "How it was worded and presented in your original post, is good for recycling, only.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Probably (I am ready to admit it) it is not your fault, but then it is the fault of the person, who composed this problem . . . \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Also, for the future, if you have several questions, it is ALWAYS better to separate them and to submit them ONE per POST.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |