Question

1) A candy store sells five different flavors of jelly beans. In how many way can...

1) A candy store sells five different flavors of jelly beans. In how many way can we fill a bag with 100 jelly beans

2) How nay ternanry strings ( consisting of 0s, 1s and 2s) of length 20 can be formed if at least one of the last three digits must be a 1

Homework Answers

Answer #1

1)

We want 100 jelly beans in the bag, and in all 5 flavors are there with us. So every time we have 5 options to pick from for each of the hundred jelly beans to be put in the bag.

Thus the total number of ways= 5*5*5*.......(100 times) = 5 100 =7.88860905e69

2)

We have three options 0,1 and 2 for the strings.

Now the total number of ways to form 20 length string= 3*3*3...(20 times) = 320

The total number of ways to form 20 length string with no 1's in it (i.e. 2 options are left at each place) = 2*2*2... (20 times)= 220

Thus the total ways to form 20 length string with at least one digit being 1 =

total number of ways to form 20 length string- The total number of ways to form 20 length string with no 1's in it

= = 3485735825

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Discrete math A candy shop has 11 different color of gum ball. 1. How many ways...
Discrete math A candy shop has 11 different color of gum ball. 1. How many ways are there to fill one bag, assume 6 gum ball are 1 bag. 2. How many ways are there to fill one bag of 6 gum ball, if each gum ball in bag has unique color. 3. if you buy 6 gum ball and distribute 1 to six kids (A,B,C,D,E,F) , how many ways are there if each kids gets a different color gum...
how many different lists of length five can you make consisting of (1,2,3) when each number...
how many different lists of length five can you make consisting of (1,2,3) when each number appears at least once?
1.How many possible orderings of letters ABCDEFG are there? 2.How many strings of length 4 can...
1.How many possible orderings of letters ABCDEFG are there? 2.How many strings of length 4 can be made using the letters ABCDEFG? 3.How many subsets of size 4 are there of the letters ABCDEFG. 4.How many possible strings are there of the letters "MATTER"? 5.Consider four books: an engineering book (E), a physics book (P), a history book (H), and an Art book (A). Consider the following problem: Suppose that the library has at least six copies of each of...
13-19 Describe how Bass Pro Shops became the nation’s leading outdoor retailer based on the retail...
13-19 Describe how Bass Pro Shops became the nation’s leading outdoor retailer based on the retail marketing mix. 13-20 In terms of the major types of retailers, how would you classify Bass Pro Shops? 13-21 Why is Bass Pro Shops succeeding while Cabela’s is floundering? 13-22 Is it a good idea for Bass Pro Shops to acquire Cabela’s? Explain. Outdoor-products megaretailer Bass Pro Shops has seemingly been breaking the rules of retail for more than 40 years, basking in the...
1) Describe an example of each of the following that may be found of your kitchen:...
1) Describe an example of each of the following that may be found of your kitchen: Explain how your choice falls into this category, and if there is a chemical name or symbol for it, provide that as well. Provide a photo of your example with your ID card in it. a) a compound b) a heterogeneous mixture c) an element (symbol) Moving to the Caves… Lechuguilla Caves specifically. Check out this picture of crystals of gypsum left behind in...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
In February 2012, the Pepsi Next product was launched into the US market. This case study...
In February 2012, the Pepsi Next product was launched into the US market. This case study provides students with an interesting insight into PepsiCo’s new product process and some of the challenging decisions that they faced along the way. Pepsi Next Case Study Introduction Pepsi Next was launched by PepsiCo into the US market in February 2012, and has since been rolled out to various international markets (for instance, it was launched in Australia in September 2012). The new product...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • Consider insertsort. Suppose that the input array A has 1% probability to be monotonically decreasing. Show...
    asked 9 minutes ago
  • Your company is thinking of introducing a Bring Your Own Device (BYOD) policy. You have been...
    asked 16 minutes ago
  • Attached is the file GeometricObject.java. Include this in your project, but do not change. Create a...
    asked 18 minutes ago
  • Suppose the number of cars in a household has a binomial distribution with parameters n =...
    asked 21 minutes ago
  • HR needs some information on the new interns put into a database. Given an id, email,...
    asked 42 minutes ago
  • Problem solving strategies Questions years = input("Enter a number of years and I'll tell you how...
    asked 46 minutes ago
  • Calculate ?Hrxn for the following reaction: CH4(g)+4Cl2(g)?CCl4(g)+4HCl(g) Use the following reactions and given ?H?s. C(s)+2H2(g)?CH4(g)?H=?74.6kJC(s)+2Cl2(g)?CCl4(g)?H=?95.7kJH2(g)+Cl2(g)?2HCl(g)?H=?184.6kJ Express...
    asked 53 minutes ago
  • ASCII (American Standard Code for Information Interchange) has an encoding for every character of the alphabet,...
    asked 1 hour ago
  • Is home confinement with electronic monitoring a deterrent? Are there negatives to being confined to one’s...
    asked 1 hour ago
  • Social hostility can have severe lasting effects of interperpersonal relationship during our adolescence years, which if...
    asked 1 hour ago
  • - A series RLC circuit has R=15 ?, L=1.5 H, and C=15 ?F. (a) For what...
    asked 1 hour ago
  • TV Circuit has 30 large-screen televisions in a warehouse in Erie and 60 large-screen televisions in...
    asked 1 hour ago