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
I don’t understand please help
Katarina [22]
Y= 4/1 x -9 :) djsjsjdndndndj
8 0
3 years ago
A shipment of 15 cases of socks is received from the vendor. Each case contains four boxes. How many boxes of socks have been re
scZoUnD [109]
The answer to this would be 60 boxes of socks

5 0
3 years ago
Solve the following equation for I. A = 2nr + nrl. Explain each step please
Cloud [144]
Sorry I’m not sure but I’ll try and help- lemme just add it to a different comment
3 0
3 years ago
Can i get help?
8090 [49]

Answer:

Hi,

Step-by-step explanation:

Using Thales 's theorem:

7 0
2 years ago
If susie is fourteen, what was her age x years ago?
PIT_PIT [208]
Well it depends on what x is or how many years ago, but the equation would be 14 - x = y y being the age x years ago.
7 0
3 years ago
Other questions:
  • P and q are on a number line. If p has a coordinate -5 and pq =7 , what could the coordinate of p be
    10·1 answer
  • Consider the following statement. Five less than 4 times a number equals 2 more than 3 times the number. a. Write an equation to
    8·2 answers
  • 1099 nearest thousand​
    13·1 answer
  • Find the missing coefficient (5d - 7)(5d - 6) = 25d2 + what d + 42
    8·1 answer
  • Which expression shows 12 more than the quotient of 63 and 9.
    10·2 answers
  • How do you solve 1/18 - 1/30 using prime factorization
    8·1 answer
  • What is 100,203 in word form
    12·2 answers
  • GIVING BRAINIEST!!!!!
    6·1 answer
  • Sanjay has £356.54 in his bank account. He spends £595.99 on a new mountain bike. What is his new bank balance?
    10·1 answer
  • A car is purchase at $20000.The value of the car depreciates at 12.5% a year. What will the value of the car be to the nearest c
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!