Search -in-a-game-you-draw-thirteen-cards-with-replacement-from-a-deck-of-playing-cards-if-you-draw-any

in a game you draw thirteen cards with replacement from a deck of playing cards if you draw any

 
 

Top Questions

1.Problem 9.C The probability a player makes a free throw in home game is 65%, independently of everything else. The probability a ...

thing else. The probability a player makes a free throw in an away game is 50%, independently of everything else. Half of the games are home games. What is the probability that when the player throws two free throws she will make both? Assuming the player makes the first free throw, what is the probability she will make the second? Are the two events independent? Assuming that the player made both free throws, what is the probability it was a home game?
View More

2.Greetings. I need help asap when it comes to a computer science project that I have to get done soon. ...

. I'm really close to completing it and I'm really stuck on this one situation and I don't know how to solve it. So right now I'm making a guessing game and every time you play the program tells the user how many guesses it took for them to get the answer. And what I need to do is to make sure that I get and isolate the lowest amount of guess and put it into the statistics function so that way it can print out the lowest amount of guesses that I got. Right now it isn't working and I really don't know why as it seems to be mostly adding up all the guesses until the last few. Here's my code: #include #include #include #include void haiku(){ printf("Welcome to the game.\n"); printf("Guess a number within range.\n"); printf("Win cool prizes here.\n\n"); } int compare(int guessiso){ int lowestvalue=0; int biggervalue=0; if(guessisooperand){ printf("It's lower.\n"); count++; isolatedcount++; } else if(user0){ lowguess=compare(x); x=one_game(count); count=x; printf("Do you want to play again?\n"); scanf("%d",&usertwo); userthree=usertwo; gamecount++; } statistics(gamecount,x,lowguess); }
View More

3.11. In a game, you draw thirteen cards with replacement from a deck of playing cards. If you draw any ...

y aces or twos, you lose the game immediately. You also lose if you draw picture cards(J,Q,K) more than twice. In this question, you’ll study the probability of winning this game.(a) What is the probability of drawing no aces or twos after thirteen draws?(b) Given you have drawn thirteen times, none of which is aces or twos, what is the probability that you draw at most two picture cards?(c) What is the probability to win this game? 12. Suppose you are tossing an unbiased coin for100times.(a) What is the probability of getting50heads and50tails?(b) LetXbe the random variable counting the number of heads you observe in this exper-iment. What is the expected value ofX? What is the variance ofX? What is thestandard deviation ofX? 13. The following are probability distributions for two random variablesX,Y. kPr(X=k) 0,0.4 1,0.3 2,0.3 kPr(Y=k) 0,0.5 1,0.3 2,0.2 (a) Construct the probability distribution table for the random variableXY.(b) Find E[X],E[Y] and E[XY]. Is is true that E[XY] =E[X]E[Y]?(c) Find the variances σ2X,σ2Y,σ2XY of X,Y and XY. Is it true that σ2XY=σ2Xσ2Y? 14. The aliens who are fond of gambling came back to play another game with you. In this game, you first toss a coin5times. If you observe3or fewer tails, you roll a die3times. If youobserve4or more tails, you roll a die20times. What is the probability that you end up with at most two6’s in your dice rolls? 15. (Challenge question, worth2points) You have two bags, each of which contains10marbles.Each time you remove a marble from a random bag. What is the probability that after one of the bags is emptied, there are still exactly3marbles in the other bag?
View More

4.Exercise 4) A fair coin is tossed. If it lands heads, a fair four-sided die is thrown (with values 2,3,4,7). If ...

2,3,4,7). If it lands tails, a fair six-sided die is thrown (with values 3,4,5,6,7,9). Regardless of which die is used, Alice eats n grains of rice, where n is the largest prime factor of the die result (for example, the largest prime factor of 9 is 3). (a) What is the conditional probability that the coin lands heads, given that Alice eats three grains of rice? (b) Suppose that the entire experiment is conducted twice on the following day (starting with a new coin toss on the second run-through). What is the conditional probability that the coin lands heads on both run-throughs, given that Alice eats a total of five grains of rice during the two run-throughs? (Do not count the two grains from part (a) in part (b); we assume two brand new experiments, each with a new coin toss. Start your solution by defining a suitable partition of the sample space. Please use an appropriate notation and/or justification in words, for each value that you give as part of your solution.) Exercise 5) Alice and Bob throw an unfair coin repeatedly, with probability 2/5 of landing heads. Alice starts with £2 and Bob starts with £3 . Each time the unfair coin lands heads, Alice gives Bob £1 . Each time the unfair coin lands tails, Bob gives Alice £1 . The game ends when one player has £5 . (a) Draw a labelled Markov chain describing the problem, and write down a transition matrix P. Write down the communication classes, and classify them as either recurrent or transient. (b) Using the transition matrix, calculate the probability that Alice loses all of her money in exactly four tosses of the unfair coin. (c) Calculate the (total) probability that Alice loses all of her money (before Bob loses all of his). (d) Calculate the expected (mean) number of tosses of the unfair coin, for the game to end.
View More

5.We play a variation of Monty Hall: The contestant is presented with 3 curtains, behind each there's a prize with ...

a prize with probability p independently of the other curtains. The player chooses one curtain (a) The game host tells the contestant there's a prize hiding behind at least one of the other curtains, and offers the player a chance to change his choice. Should he? (b) The game host tells the player there's a prize hiding behind exactly one of the other curtains. Should the player change his choice? How does your answer depend on p (c) How would your answer to section (b) change if there are n curtains in total? (d) Bonus (4 points): How would your answer to section (a) change if there are 4 curtains in total?
View More

6.Question 1: What is a player’s « reaction function » in a Bertrand game ? Question 2: What is a subgame ...

subgame perfect Nash equilibrium? Question 3: In which situations should we need the mixed extension of a game? Question 4: Find, if any, all Nash equilibria of the following famous matrix game: L R U (2,0) (3,3) D (3,4) (1,2) Question 5: What is the difference between a separating equilibrium and a pooling equilibrium in Bayesian games? Question 6: Give another name for, if it exists, the intersection of the players’ best-response « functions » in a game? Question 7: assuming we only deal with pure strategies, the Prisoner’s Dilemma is a situation with: No Nash equilibrium One sub-optimal Nash equilibrium One sub-optimal dominant profile No dominant profile Question 8: If it exists, a pure Nash equilibrium is always a profile of dominant strategies: True False Question 9: All games have at least one pure strategy Nash equilibrium: True False Question 10: If a tree game has a backward induction equilibrium then it must also be a Nash equilibrium of all of its subgames: Tr 2/2 Question 11: The mixed Nash equilibrium payoffs are always strictly smaller than the pure Nash equilibrium payoffs: True False Question 12: Which of the following statements about dominant/dominated strategies is/are true? I. A dominant strategy dominates a dominated strategy in 2x2 games. II. A dominated strategy must be dominated by a dominant strategy in all games. III. A profile of dominant strategies must be a pure strategy Nash equilibrium. IV. A dominated strategy must be dominated by a dominant strategy in 2x2 games. I, II and IV only I, II and III only II and III only I and IV only I, III and IV only I and II only Question 13: A pure strategy Nash equilibrium is a special case of a mixed strategy Nash equilibrium: True False Question 14: Consider the following 2x2 matrix game: L R U (3,2) (2,4) D (-1,4) (4,3) The number of pure and mixed Nash equilibria in the above game is: 0 1 2 3 Exercise (corresponding to questions 15 to 20 below): assume a medical doctor (M) prescribes either drug A or drug B to a patient (P), who complies (C) or not (NC) with each of this treatment. In case of compliance, controlled by an authority in charge of health services quality, the physician is rewarded at a level of 1 for drug A and 2 for drug B. In case of noncompliance, the physician is « punished » at -1 level for non-compliance of the patient with drug A and at -2 level for non-compliance with drug B. As for the compliant patient, drug A should give him back 2 years of life saved and drug B, only 1 year of life saved. When noncompliant with drug A, the same patient wins 3 years of life (due to avoiding unexpected allergic shock for instance), and when non-compliant with drug B, the patient loses 3 years of life. Question 15: You will draw the corresponding matrix of the simultaneous doctor-patient game. Question 16: Find, if any, the profile(s) of dominant strategies of this game. Question 17: Find, if any, the pure strategy Nash equilibrium/equilibria of this game. Question 18: Find, if any, the mixed strategy Nash equilibrium/equilibria of this game. Questions 19 and 20: Now the doctor prescribes first, then the patient complies or not: draw the corresponding extensive-form game (= question 19) AND find the subgame perfect Nash equilibrium/equilibria (=
View More

7.0 1 2 3 Exercise (corresponding to questions 15 to 20 below): assume a medical doctor (M) prescribes either drug A or ...

ibes either drug A or drug B to a patient (P), who complies (C) or not (NC) with each of this treatment. In case of compliance, controlled by an authority in charge of health services quality, the physician is rewarded at a level of 1 for drug A and 2 for drug B. In case of noncompliance, the physician is « punished » at -1 level for non-compliance of the patient with drug A and at -2 level for non-compliance with drug B. As for the compliant patient, drug A should give him back 2 years of life saved and drug B, only 1 year of life saved. When noncompliant with drug A, the same patient wins 3 years of life (due to avoiding unexpected allergic shock for instance), and when non-compliant with drug B, the patient loses 3 years of life. Question 15: You will draw the corresponding matrix of the simultaneous doctor-patient game. Question 16: Find, if any, the profile(s) of dominant strategies of this game. Question 17: Find, if any, the pure strategy Nash equilibrium/equilibria of this game. Question 18: Find, if any, the mixed strategy Nash equilibrium/equilibria of this game. Questions 19 and 20: Now the doctor prescribes first, then the patient complies or not: draw the corresponding extensive-form game (= question 19) AND find the subgame perfect Nash equilibrium/equilibria (=
View More

8.While many game balls are packaged in cylinders, some are packaged in rectangular boxes. Suppose that one type of ball ...

t one type of ball has a radius of 2.4 cm . The length and width of the box's square base are both twice the radius, and the balls are packaged four to a box, so that the height is eight times the radius. Find the percentage of the box that is filled. Round your percentage to the nearest hundredth. Also round all intermediate calculations to four decimal places. The percentage of the box that is filled, to the nearest hundredth, is %
View More

1.AU MAT 120 Systems of Linear Equations and Inequalities Discussion

mathematicsalgebra Physics