For each of the following problems, you should write your answer as an expression. Do not give the final numeric value. For example, if your answer is the number of 6-permutations of a set with 10 elements, you should write P(10,6) or 10!/4! or 10 × 9 × 8 × 7 × 6 × 5, but not 151200. (25 pt., 5 pt. each) A French pastry shop sells 15 different flavors of macarons. Assume that it has an unlimited supply of each type. How many ways are there to choose 12 macarons from these 15 flavors if... 3.1...they are all the same flavor? 3.2 ...they are all different flavors? 3.3 ...half are one flavor and half are a different flavor (for example, half are raspberry and half are chocolate)? 3.4...at most 4 are salted caramel? 3.5 ...at least 2 are pistachio and at least 4 are hazelnut?

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 19RQ
icon
Related questions
Question
For each of the following problems, you should write your answer as an expression. Do not
give the final numeric value. For example, if your answer is the number of
6-permutations of a set with 10 elements, you should write P(10,6) or 10!/4! or 10 × 9 × 8 ×
7 × 6 × 5, but not 151200.
Transcribed Image Text:For each of the following problems, you should write your answer as an expression. Do not give the final numeric value. For example, if your answer is the number of 6-permutations of a set with 10 elements, you should write P(10,6) or 10!/4! or 10 × 9 × 8 × 7 × 6 × 5, but not 151200.
(25 pt., 5 pt. each) A French pastry shop sells 15 different flavors of macarons. Assume
that it has an unlimited supply of each type. How many ways are there to choose 12
macarons from these 15 flavors if...
3.1...they are all the same flavor?
3.2 ...they are all different flavors?
3.3 ...half are one flavor and half are a different flavor (for example, half are raspberry and
half are chocolate)?
3.4...at most 4 are salted caramel?
3.5 ...at least 2 are pistachio and at least 4 are hazelnut?
Transcribed Image Text:(25 pt., 5 pt. each) A French pastry shop sells 15 different flavors of macarons. Assume that it has an unlimited supply of each type. How many ways are there to choose 12 macarons from these 15 flavors if... 3.1...they are all the same flavor? 3.2 ...they are all different flavors? 3.3 ...half are one flavor and half are a different flavor (for example, half are raspberry and half are chocolate)? 3.4...at most 4 are salted caramel? 3.5 ...at least 2 are pistachio and at least 4 are hazelnut?
Expert Solution
steps

Step by step

Solved in 2 steps with 13 images

Blurred answer
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning