(3) (a) A fair coin is flipped, if it lands on the head side, one dice is rolled and X is the resulted number, if it lands on the tail side, two dice are rolled and X is the resulted sum. Calculate...


(3) (a) A fair coin is flipped, if it lands on the head side, one dice is rolled and X is the resulted<br>number, if it lands on the tail side, two dice are rolled and X is the resulted sum. Calculate<br>E[X] and V[X]. Write a computer program and carry out a simulation to verify your<br>answers.<br>(b*) A person starts walking home from a bar towards his home. The distance is n blocks.<br>Every hour he either manages to walk one block towards home, or gets confused and picks<br>up a cab back to the bar (each with probability 1/2). At any point, if he is at the bar, he<br>always moves ahead one block. What is the expected time it takes him to get home?<br>(c) Write a computer program' and carry out a simulation to verify your answer. (If you<br>have trouble with part (b), do the computer simulation and formulate a conjecture of the<br>answer for partial credits.)<br>

Extracted text: (3) (a) A fair coin is flipped, if it lands on the head side, one dice is rolled and X is the resulted number, if it lands on the tail side, two dice are rolled and X is the resulted sum. Calculate E[X] and V[X]. Write a computer program and carry out a simulation to verify your answers. (b*) A person starts walking home from a bar towards his home. The distance is n blocks. Every hour he either manages to walk one block towards home, or gets confused and picks up a cab back to the bar (each with probability 1/2). At any point, if he is at the bar, he always moves ahead one block. What is the expected time it takes him to get home? (c) Write a computer program' and carry out a simulation to verify your answer. (If you have trouble with part (b), do the computer simulation and formulate a conjecture of the answer for partial credits.)

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here