Mathematics
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.

answer
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:10, sebastianapolo5
Element x decays radioactively with a half life of 8 minutes. if there are 450 grams of element x, how long, to the nearest tenth of a minute, would it take the element to decay to 37 grams?
Answers: 2
image
Mathematics, 21.06.2019 19:30, kfnldkl1782
Measure of angles 31 (x+4) (3x+9) me
Answers: 1
image
Mathematics, 21.06.2019 20:30, stgitskaysie9028
Write an expression that represent sarah’s total pay last week. represent her hourly wage with w monday 5 tuesday 3 wednesday 0 noah hours wednesday 8 only with w wage did noah and sarah earn the same amount last week?
Answers: 3
image
Mathematics, 21.06.2019 22:30, noathequeen
James wants to promote his band on the internet. site a offers website hosting for $4.95 per month with a $49.95 startup fee. site b offers website hosting for $9.95 per month with no startup fee. for how many months would james need to keep the website for site a to be a better choice than site b?
Answers: 1
Do you know the correct answer?
You are going to simulate randomly picking a card from a deck. you are curious to know what is the p...

Questions in other subjects: