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
Roman55 [17]
3 years ago
13

Suppose you repeatedly roll a fair six-sided die until you roll a 1 (and then you stop). Every time you roll a 2, you lose a poi

nts, and every time you roll a 6, you win b points. You do not win or lose any points if you roll a 3, 4, or a 5. What is the expected number of points (as a function of a and b) you will have when you stop?
Computers and Technology
1 answer:
OverLord2011 [107]3 years ago
7 0

Answer:

E = b-a

Explanation:

In this questions what we are been asked is for the expected value E, to solve the problem we need to recognize the random variables and their respective probability.

  • x1 = roll a 1 -> P1 = 1/6
  • x2 = roll a 2 -> P2 = 1/6
  • x3 = roll a 6 -> P3 = 1/6
  • x4 = roll a 1, 4 or 5 -> P4 = 1/2

E = P1*x1 + P2*x2 + P3*x2 + P4*x4

x1 is equal to zero (no points and the game stop), x2 is equal to E-a (lose a points, affecting the expected value), x3 is equal to E+b (win b points, affecting the expected value) and x4 is equal E (no points are lost and the game continues, therefore the expected value is not affected)

E = 1/6*0 + 1/6*(E-a) + 1/6*(E+b) + 1/2*(E)

1/6*E = 1/6*b - 1/6a

Solving for E

E = b-a

Conclusion: If you get a 3, 4 or 5 the game is unaffected (in terms of points), you need to pay special attention to x1, x2 and x3 (all with the same probability)  that are the results that are going to affect your game.  

You might be interested in
Given num_rows and num_cols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print
nata0808 [166]

Answer:

Following are the program for the above question in python:

Explanation:

def seat(num_rows,num_cols):#function definition.

   for x in range(1,num_rows+1):#first for loop.

       c='A'

       for y in range(1,num_cols+1): #second for loop.

           print(str(x)+c,end=" ") #print the value

           c=chr(ord(c)+1) #expression to form a charater addition.

seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.

Output:

  • If the user inputs 2 and 3, then the output is :"1A 1B 1C 2A 2B 2C 3A 3B 3C 4A 4B 4C".

Code Explanation :

  • The above code is in python language, in which the first line is used to render a message to the user then take the inputs from the user and then pass to the function after converting into int function.
  • Then there are two loops in the function which are used to print the number of the seat.
  • The first loop is used to print the row number and the second loop is used to print the column number.
4 0
4 years ago
What's the drawback of using Screened Subnet (DMZ)?
lesantik [10]

It's more expensive, it's more difficult to configure and maintain and it can be more difficult to troubleshoot

4 0
4 years ago
Any anime weebs wanna talk
erastova [34]

Answer:

Sowwy, it's not Me!

The Bermuda Triangle, also known as the Devil's Triangle, is a loosely defined region in the western part of the North Atlantic Ocean where a number of aircraft and ships are said to have disappeared under mysterious circumstances. Most reputable sources dismiss the idea that there is any mystery.[1][2][3]

Bermuda Triangle

Devil's Triangle

6 0
3 years ago
Read 2 more answers
Which elements of text can be changed using automatic formatting? Check all that apply.
SIZIF [17.4K]
A) smart quote and B) the zoom percentage and E) the addition of special characters
7 0
3 years ago
What is the name of the process of checking the client's production environment to ensure software and hardware compatibility wi
zzz [600]

Answer:

Explanation:

It is known as software testing

6 0
3 years ago
Read 2 more answers
Other questions:
  • Effective teams use strategies that help members work together a) smoothly b) independently c) loosely d) secretly
    5·2 answers
  • Which is NOT a type of SD card?
    8·2 answers
  • _______ ______ is the creation of a computer program by utilizing pictorial elements. Question 36 options: A. Assembly Programmi
    7·2 answers
  • Which trait depicts honesty?
    10·1 answer
  • Jenny is working on a laptop computer and notices that the computer is not running very fast. She looks and realizes that the la
    14·1 answer
  • Haigy Paigy is as a children's invented language which sounds exactly like English, except that "aig" is inserted before the vow
    12·1 answer
  • All operations used to construct algorithms belong to one of three categories: sequential, conditional, or iterative. Below is a
    15·1 answer
  • A capacitor of capacitance 102/π µF is connected across a 220 V, 50 Hz A.C. mains. Calculate the capacitive reactance, RMS value
    8·1 answer
  • Terrell, a programmer, is creating a website for an online merchant and wants the program to calculate the total price based on
    14·2 answers
  • Market trends on products made of bamboo, wood, and metal​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!