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 17:00
Two streets intersect at a 30- degree angle. at the intersection, the are four crosswalks formed that are the same length. what type of quadrilateral is formed by the crosswalks?
Answers: 2
question
Mathematics, 21.06.2019 20:30
Solve the triangle. a = 21°, c = 105°, c = 5
Answers: 2
question
Mathematics, 21.06.2019 21:20
Sam is a waiter at a local restaurant where he earns wages of $5 per hour sam figures that he also eams about $3 in tips for each person he serves sam works 6 hours on a particular day. if n represents the number of people sam serves that day, which of the following functions could sam use to figure ehis total earings for the do o a. en) = 30 o b. en) = 5n+ 18
Answers: 2
question
Mathematics, 21.06.2019 23:30
Scenario: susan wants to make 2 square flags to sell at a crafts fair. the fabric she wants to buy is 3 meters wide. she doesn't want any fabric left over. what's the least amount of fabric she should buy? question: which equation will susan solve her problem? note: let x represent the length of 1 side of the flag. options: 1) 2x^2 = 4x 2) 8 +2x = 2(4x) 3) 2 * 2 = 4 * 2 4) 4x^2 -2x = 0
Answers: 2
You know the right answer?
Consider the following problem: How many ways can a committee of four people be selected from a grou...
Questions
Questions on the website: 13722361