subject
Mathematics, 24.06.2020 06:01 kolbehoneyman

You are playing a game where a fair die is rolled first and then a fair coin is tossed a number of times equal to the face of the die (e. g. if the die shows three, the coin is tossed three times, and this combination is considered as one game). . a) Let X be the number of heads(H) you can get in any game.
• Write down the probability mass function of X. (this part is not a simulation question. Calculate ALL the probabilities and produce a table that represents the pmf)
• Calculate E[X] using your pmf.
b) Write an R code that will simulate this game 100,000 times.
• save the outputs from your simulation (no need to print the outputs).
• Use these outputs to calculate an estimate of E[X].
c) Suppose you are told that if the number on the die is odd you get a dollar value equivalent to the corresponding X value(e. g. the die shows three, the coin is tossed three times, if there are two heads you get $2) But if the number on the die is even, you have to pay a dollar value equivalent to X.
• Calculate an estimate of your expected gain from each game (You can use numeric calculations as you have done in part(a) or you can use your simulation from part(b) to answer this question).

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 23:40
The function f(x)= -(x+5)(x+1) is down. what is the range of the function?
Answers: 3
question
Mathematics, 22.06.2019 03:10
Which of the following statements are true? (select all that apply.) a quasi-static process is one in which the system is never far from being in equilibrium. when a system can go from state 1 to state 2 by several different processes, the amount of heat absorbed by the system will be the same for all processes. the internal energy of a given amount of an ideal gas depends only on its absolute temperature. when a system can go from state 1 to state 2 by several different processes, the work done on the system will be the same for all processes. when a system can go from state 1 to state 2 by several different processes, the change in the internal energy of the system will be the same for all processes. for any substance that expands when heated, its cp is greater than its cv.
Answers: 2
question
Mathematics, 22.06.2019 04:00
Which expression equals 9^3 sqrt 10 a. 5 sqrt 10 + 4 sqrt 10 b. 5^3 sqrt 10 + 4 ^3 sqrt 10 c. 5 sqrt 10 + 4^3 sqrt 10 d. 5^3 sqrt 10 + 4 sqrt 10
Answers: 1
question
Mathematics, 22.06.2019 04:00
Which of the following inequalities matches the graph? a. 2x+y< 7 b. 2x-y> 7 c. 2x+y< -7 d. the correct inequality is not listed
Answers: 2
You know the right answer?
You are playing a game where a fair die is rolled first and then a fair coin is tossed a number of t...
Questions
question
English, 24.11.2020 01:30
question
English, 24.11.2020 01:30
question
History, 24.11.2020 01:30
question
Mathematics, 24.11.2020 01:30