document.write( "Question 355797: A store is selling 5 types of hard candies: cherry, strawberry, orange, lemon and pineapple. How many ways are there to choose: \r
\n" );
document.write( "\n" );
document.write( "(a) 24 candies? \r
\n" );
document.write( "\n" );
document.write( "Answer = \r
\n" );
document.write( "\n" );
document.write( "(b) 24 candies with at least a piece of each flavor? \r
\n" );
document.write( "\n" );
document.write( "Answer = \r
\n" );
document.write( "\n" );
document.write( "(b) 24 candies with at least 2 cherry and at least 2 lemon? \r
\n" );
document.write( "\n" );
document.write( "Answer = \n" );
document.write( "
Algebra.Com's Answer #254276 by sudhanshu_kmr(1152)![]() ![]() You can put this solution on YOUR website! \r \n" ); document.write( "\n" ); document.write( "No. of ways to choose n items from r different items = (n+r-1)C(r-1)\r \n" ); document.write( "\n" ); document.write( "A)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "no. of ways to choose 24 candies from 5 different flavour = 28C4 = 20475 \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( ".........................................................................\r \n" ); document.write( "\n" ); document.write( "B) \r \n" ); document.write( "\n" ); document.write( "here 1 from each is already choosed, now only 20 to choose\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "no. of ways to choose 20 candies from 5 different flavours = 24C4 = 10626\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "............................................................................\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "C)\r \n" ); document.write( "\n" ); document.write( "here same as (B) four already decided to choose.\r \n" ); document.write( "\n" ); document.write( "here answer will same i.e 10626 \r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Sometimes there may be typing mistake in solution of a problem, so please ignore it. Understand the concept and try to solve the problem yourself. If there is problem related to concept, contact at \n" ); document.write( "sudhanshu.cochin@yahoo.com or sudhanshu.cochin@gmail.com \n" ); document.write( "Best of luck....... \r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |