Microsoft Visual C#
Microsoft Visual C#
7th Edition
ISBN: 9781337102100
Author: Joyce, Farrell.
Publisher: Cengage Learning,
Bartleby Related Questions 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.
expand button
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?
expand button
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
Check Mark
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning