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]
3 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]3 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
Which of the following is fartherest to the left on a number line 1/5, (0.1)to second power, 0.02
Alexxx [7]
1/5 is .2
.1^2 is .01
.02 is .02

So the furthest left  would be the smallest number, which in this case is 0.1^2
5 0
3 years ago
Your grandmother wants to spend at least $40 but no more than $60 on school clothes for you. T-shirts sell for $10 and pants sel
ss7ja [257]

she could buy 2 pants and 2 shirts because 2 pants =$40 and 2 shirts=$20 so 40 +20=60

5 0
3 years ago
How do you find 6x=-5y
eduard
6x=-5y
-5y=6x
so the answer is y=-6/5x
5 0
3 years ago
Which expression is equivalent to (2 + 6i)(5 + 2i)?
skelet666 [1.2K]

Answer:

c. -2 + 34i

Step-by-step explanation:

(2 + 6i)(5 + 2i)

c. -2 + 34i

4 0
2 years ago
Two forms to write 0.326
Vlad [161]
1st one that I can possibly think behind my brain: 326/1000 or simplified is 163/500

2nd: Three hundred and twenty six thousandths

Hope it helps! Happy Halloween!
4 0
3 years ago
Read 2 more answers
Other questions:
  • David will spend at most $39 on gifts. So far, he has spent $22. What are the possible additional amounts he will spend? Use c f
    14·1 answer
  • Earl gets a commission of 20% on all sales. He sold $1,580.00 worth of goods. What was the amount of his paycheck?
    6·2 answers
  • Fifteen more than half a number is 9?
    7·1 answer
  • Y = 3x + 4 Y = 3x + 7
    14·1 answer
  • Can someone help me figure out this
    7·2 answers
  • The coordinates of point R are (5, -9). In which quadrant is R?
    7·2 answers
  • Find the horizontal distance! helppp
    12·1 answer
  • Find the product of (x+3)2 <br><br> HURRY ILL GIVE YOU BRAINLIEST ANSWER
    7·1 answer
  • PLEASE HELPP I really need it this is a timed test
    10·2 answers
  • The illustration below shows the graph of y as a function of x.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!