1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kisachek [45]
2 years ago
7

Suppose a casino invents a new game that you must pay $250 to play. The game works like this: The casino drawsrandom numbers bet

ween 0 and 1from a uniform distribution. It adds them together until their sum is greater than 1, at which time it stops drawing new numbers. You get a payout of $100 each time a new number is drawn.For example, suppose the casino draws 0.4 and then 0.7. Since the sum is greater than 1, it will stop after these two draws, and you receive $200. If instead it draws 0.2, 0.3, 0.3, and then 0.6, it will stop after the fourth draw and you will receive $400. Given the $250 entrance fee, should you play the game?

Mathematics
1 answer:
Ira Lisetskai [31]2 years ago
6 0

Answer:

clc%clears screen

clear all%clears history

close all%closes all files

p=250;

M=[];

for i=1:100000

re=0;

S=0;

while(S<=1)

S=S+rand;

re=re+100;

end

M(i)=re;

end

disp('Expected received money is');

mean(M)

disp('Since expcted is greater than what we pay. So, we will play')

Step-by-step explanation:

You might be interested in
Noah is ordering a taxi from an online taxi service. The taxi charges $2.50 just for the pickup and then an additional $2 per mi
d1i1m1o1n [39]

Answer:

$10.50

Step-by-step explanation:

We can make an equation

2.50+2x=?

x=4 because we are riding 4 miles.

so it's 2.5+2*4=?

let's solve

2.5+8=$10.50

8 0
3 years ago
The slope of the graph of y = x is
kicyunya [14]
<span><span>Step One:<span> Identify two points on the line.</span></span><span>Step Two:<span> Select one to be (x</span>1<span>, y</span>1<span>) and the other to be (x</span>2<span>, y</span>2).</span><span>Step Three:<span> Use the slope equation to calculate slope. hope this helps </span></span></span>
6 0
3 years ago
Read 2 more answers
What are the next 3 terms of the following sequence?<br> 3, -1, -5, -9
MA_775_DIABLO [31]

Answer: -13, -17, -21

Explanation: Subtract 4 from each term. Do this for 3 terms

6 0
2 years ago
What is the average of the following numbers: 18, 64, 23, 78, 82, 91
Katen [24]
To Find The Answer, We Need To Add All Of Them Together, Then Divide By the Number Of Values. So:
64+23+78+82+91
-----------------------
             5

<span>64+23+78+82+91 = 338.
</span>
338
-----
  5

338/5 = 67.6

So, The Average Is 67.6
3 0
3 years ago
How many solutions does 4x-1/8=-1/8 (32x-1) have
Tom [10]
It has only one solution

3 0
2 years ago
Other questions:
  • You buy a new video game for $59.99
    5·1 answer
  • Is this the correct answer i need help please
    11·2 answers
  • What two numbers multiplied together equal -420, but added together equal 1
    9·2 answers
  • If the weights of 1,000 adult men in a county are plotted on a histogram, which curve is most likely to fit the histogram?
    11·2 answers
  • What is 7/15 as a decimal
    11·1 answer
  • A straight path from the edge of a circular garden to the center of the garden is 7 meters long. What is the area of the garden?
    7·2 answers
  • Make this into three sentences
    6·1 answer
  • Find the area of the following figure and choose the appropriate result.
    7·1 answer
  • What is the next term of the geometric sequence?<br> -1/7,4/7,-16/7
    7·1 answer
  • The size of a cell is typically found by capturing an image under a microscope then using software to measure its diameter. Two
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!