subject
Mathematics, 13.12.2019 00:31 christopherholmes

You are going to simulate randomly picking a card from a deck. you are curious to know what is the probability of getting a pair when you are dealt five cards.

a pair is when you get two of the same card. for example, two kinds or two tens.

choose all the following that are true or correct. read carefully.

a
you could simulate this by running randint(1,13,5) where 1 represents ace, 2 is 2, 3 is 3, all the way to 11 is jack, 12 and queen and 13 is king.
b
you could simulate this by running randint(1, 52, 10). each card being its own number and looking for pairs. being sure to disregard any repeated number in the hand of 5. for example, 1,5,20,46,20,3, you would disregard the second 20.
c
a trial is when you get 5 different cards and there is a pair.
d
you could simulate this by running randint(1,13,5) and ends when you get 5 randomly generate numbers.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 18:30
An arc subtends a central angle measuring 7pi/4 radians what fraction of the circumference is this arc?
Answers: 1
question
Mathematics, 21.06.2019 19:00
Aplot of land has been surveyed for a new housing development with borders ab, bc, dc, and da. the plot of land is a right trapezoid with a height of 60 feet and an opposite leg length of 65 feet
Answers: 1
question
Mathematics, 21.06.2019 21:00
Rewrite the following quadratic functions in intercept or factored form. show your work. f(x) = 3x^2 - 12
Answers: 1
question
Mathematics, 22.06.2019 01:30
As a self-employed seamstress, you know that it takes 7 yards of material to make 3 jackets. you bought 15 yards of material to make 7 jackets. did you buy enough material? if not, how much were you over or under?
Answers: 1
You know the right answer?
You are going to simulate randomly picking a card from a deck. you are curious to know what is the p...
Questions
question
Chemistry, 16.12.2020 18:00
question
Mathematics, 16.12.2020 18:00
question
Arts, 16.12.2020 18:00
question
Mathematics, 16.12.2020 18:00
question
Mathematics, 16.12.2020 18:00
question
Mathematics, 16.12.2020 18:00
question
Mathematics, 16.12.2020 18:00
question
Spanish, 16.12.2020 18:00