subject
Mathematics, 11.02.2020 20:28 avavackity

Consider the following problem: How many ways can a committee of four people be selected from a group of 10 people? There are many other similar problems, where you are asked to find the number of ways to select a set of items from a given set of items. The general problem can be stated as follows: Find the number of ways r different things can be chosen from a set of n items, where r and n are nonnegative integers and r n. Suppose C(n, r) denotes the number of ways r different things can be chosen from a set of n items. Then C(n, r) is given by the following formula: Cðn; rÞ ¼ n! r!ðn rÞ! where the exclamation point denotes the factorial function. Moreover, C(n, 0) ¼ C(n, n) ¼ 1. It is also known that C(n, r) ¼ C(n – 1, r – 1) + C(n – 1, r). a. Write a recursive algorithm to determine C(n, r). Identify the base case(s) and the general case(s). b. Using your recursive algorithm, determine C(5, 3) and C(9, 4).

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 14:40
The physical fitness of an athlete is often measured by how much oxygen the athlete takes in (which is recorded in milliliters per kilogram, ml/kg). the mean maximum oxygen uptake for elite athletes has been found to be 60 with a standard deviation of 7.2. assume that the distribution is approximately normal.
Answers: 3
question
Mathematics, 21.06.2019 21:00
What would the rule be for the reflection of y=-3
Answers: 1
question
Mathematics, 21.06.2019 22:30
What is fraction that is equivalent to 3/8
Answers: 2
question
Mathematics, 21.06.2019 23:40
For a science project, a high school research team conducted a survey of local air temperatures. based on the results of the survey, the found that the average temperatures were around 10 degrees higher than expected. this result was wrong. the trouble with the survey was that most of the locations were exposed to direct sunlight and located over asphalt or sand, which resulted in higher temperatures than normal. this is a classic example of an error in which phase of inferential statistics?
Answers: 1
You know the right answer?
Consider the following problem: How many ways can a committee of four people be selected from a grou...
Questions
question
Mathematics, 27.01.2021 07:40
question
Social Studies, 27.01.2021 07:40
question
Mathematics, 27.01.2021 07:40
question
Mathematics, 27.01.2021 07:40
question
Mathematics, 27.01.2021 07:40
question
Mathematics, 27.01.2021 07:40
question
English, 27.01.2021 07:40
Questions on the website: 13722363