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 23:00
What is the sum of these mixed numbers 4 2/3+ 3 1/9
Answers: 2
question
Mathematics, 21.06.2019 23:30
The perimeter of an equilateral triangle is 4 cm more than the perimeter of a square and the length of a side of the triangle is 8 cm more than the length of a side of the aware. find the length of a side of the equilateral triangle
Answers: 1
question
Mathematics, 22.06.2019 00:00
Percy rides his bike 11.2 miles in 1.4 hours at a constant rate. write an equation to represent the proportional relationship between the number of hours percy rides, x,and the distance in miles, y, that he travels.
Answers: 1
question
Mathematics, 22.06.2019 01:00
Tobias gold sells computers at the office center he's guaranteed a minimum salary of $1,959 per month plus 6.3% commission on total sales how much in total sales is he
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, 08.11.2020 09:10
question
Mathematics, 08.11.2020 09:10
Questions on the website: 13722360