document.write( "Question 1196699: Marvin the fly starts at (0,0). For each step, Marvin moves one unit right or one unit up. He is trying to get to the point (5,7). However, at (4,4) there is a frog that will eat him if he goes through that point. In how many ways can Marvin reach (5,7)? \n" ); document.write( "
Algebra.Com's Answer #829647 by ikleyn(52781)![]() ![]() You can put this solution on YOUR website! . \n" ); document.write( "Marvin the fly starts at (0,0). For each step, Marvin moves one unit right or one unit up. \n" ); document.write( "He is trying to get to the point (5,7). However, at (4,4) there is a frog that will eat him \n" ); document.write( "if he goes through that point. In how many ways can Marvin reach (5,7)? \n" ); document.write( "~~~~~~~~~~~~~~\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " The idea of the solution is to calculate the number of all existing different paths\r \n" ); document.write( "\n" ); document.write( " from (0,0) to (5,7), and then SUBTRACT from it the number of all such different paths\r \n" ); document.write( "\n" ); document.write( " from (0,0) to (5,7), that go through point (4,4).\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \r\n" ); document.write( "Each path from (0,0) to (5,7) on this grid can be presented as the word consisting of\r\n" ); document.write( "5+7 = 12 letters R and U; each such letter represents one move one init Right or one\r\n" ); document.write( "unit Up, respectively.\r\n" ); document.write( "\r\n" ); document.write( "\r\n" ); document.write( "So, the number of all possible paths from (0,0) to (5,7) is\r \n" ); document.write( "\n" ); document.write( "Solved.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |