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 18:30
David is spreading mulch on a triangular area of his flower bed. the coordinates of the vertices of the area are (1, 3), (9, 3), and (4, 6). what is the area of the triangle if each square has an area of 3 square feet?
Answers: 1
question
Mathematics, 21.06.2019 19:00
Me asap on # : explain how factoring a trinomial, ax^2+ bx+ c, when a does not equal 1 different from factoring a trinomial when a = 1.
Answers: 2
question
Mathematics, 21.06.2019 23:00
Multiplying fractions by whole number 5 x 1/3=?
Answers: 2
question
Mathematics, 22.06.2019 00:30
Grace is standing 18 feet from a lighthouse and kelly is standing 10 feet from grace. the angle that grace looks up to see the top of the lighthouse is 45°. the angle that kelly looks up to see the top of the lighthouse is y°. find the height, h, of the lighthouse. find the angle, rounded to the nearest tenth of a degree, in which kelly looks up to the top of the lighthouse. to the nearest tenth of a degree, find the value of x° . in two or more sentences, explain your calculations
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
English, 15.04.2021 01:00
question
Health, 15.04.2021 01:00
question
French, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00
question
Mathematics, 15.04.2021 01:00