2.36 Is it worth it?: Andy is always looking
for ways to make money fast. Lately, he has been trying to make
money by gambling. Here is the game he is considering playing: The
game costs $2 to play. He draws a card from a deck. If he gets a
number card (2-10), he wins nothing. For any face card ( jack,
queen or king), he wins $3. For any ace, he wins $5, and he wins an
extra $20 if he draws the ace of clubs.
a) Andy's expected profit per game is: $
b) Would you recommend this game to Andy as a good way to make
money? Explain.
Yes, Andy could be lucky and might earn money in the long-run playing this game
No, we expect Andy to lose money each time he plays this game
2.36 Is it worth it?: Andy is always looking for ways to make money fast. Lately,...
Need help with both problems. Thanks in advance! 2.38 Baggage fees: An airline charges the following baggage fees: $25 for the first bag and $35 for the second. Suppose 46% of passengers have no checked luggage, 30% have only one piece of checked luggage and 24% have two pieces. We suppose a negligible portion of people check more than two bags. (please round to the nearest a) The average baggage-related revenue per passenger is: $ cent) b) The standard deviation...
In a gambling game a person draws a single card from an ordinary 52 card playing deck. A person is paid $15 for drawing a jack or a queen and $5 for drawing a king or an ace. A person who draws any other card pays $4. If a person plays this game, what is the expected gain?
What is the standard deviation, measuring the variability of the variable consisting of summing up wins and losses from both games, X + Y? Round to two places. Question 8 (1 point) ?--$0.17 o- $2.61 Die roll Payoff, X, in P(x) 0.1667 0.1667 0.1667 0.1667 0.1667 0.1667 Hy$0.08 Card Payoff, Y, in $ P(Y) Any Queen $0.75 0.0769 Any Jack Any other card Any ace Any King $1.25 0.0769 0.0769 $0.50 0.6923 $1.00 $0.50 0.0769 Twelve year old Johnny has...
Program 4: C++ The Game of War The game of war is a card game played by children and budding computer scientists. From Wikipedia: The objective of the game is to win all cards [Source: Wikipedia]. There are different interpretations on how to play The Game of War, so we will specify our SMU rules below: 1) 52 cards are shuffled and split evenly amongst two players (26 each) a. The 26 cards are placed into a “to play” pile...
War—A Card game Playing cards are used in many computer games, including versions of such classics as solitaire, hearts, and poker. War: Deal two Cards—one for the computer and one for the player—and determine the higher card, then display a message indicating whether the cards are equal, the computer won, or the player won. (Playing cards are considered equal when they have the same value, no matter what their suit is.) For this game, assume the Ace (value 1) is...
A hungry' undergraduate student was looking for a way of making some extra money. The student turned to a life of vice - gambling. To be a good gambler, he needed to know the probability of certain events. Help him out by answering the following questions assuming no card replacement occurs and each section is independent of the previous sections (i.e., part b is independent of part a). As a reminder, there are 52 cards in a deck and four...
2. Kyd and North are playing a game. Kyd selects one card from a standard 52-card deck. If Kyd selects a face card (Jack, Queen, or King), North pays him $5. If Kyd selects any other type of card, he pays North $2. a) What is Kyd's expected value for this game? Round your answer to the nearest cent. $ b) What is North's expected value for this game? Round your answer to the nearest cent. $ c) Who has...
How do I start this c++ code homework? Write a code in C++ for a BlackJack card game using the following simplified rules: Each card has a numerical value. Numbered cards are counted at their face value (two counts as 2 points, three, 3 points, and so on) An Ace count as either 1 point or 11 points (whichever suits the player best) Jack, queen and king count 10 points each The player will compete against the computer which represents...
Create a simplified Blackjack game using the Deck and Card classes (download the attached files to start). There is also a "TestCard" class that creates a Deck and runs some simple code. You may choose to use this file to help you get started with your game program. 1) Deal 2 cards to the "player" and 2 cards to the "dealer". Print both the player's cards, print one of the dealer's cards. Print the total value of the player's hand. 2) Ask...
This needs to be done in c++11 and be compatible with g++ compiling Project description: Write a C++ program to simulate a simple card game between two players. The game proceeds as follows: The 52 cards in a deck of cards are shuffled and each player draws three cards from the top of the deck. Remaining cards are placed in a pile face-down between the two players. Players then select a card from the three in their hand. The player...