Question: I think this is the solution for part A I need the sulution for part B Code x = rand(3) Output: octave: 1 source(test.m) X-3


I think this is the solution for part A I need the sulution for part B

Code x = rand(3) Output: octave: 1 source("test.m") X-3 octave:2> source("test.m") octave:3> source("test.m") octave:4> source("test.m") x=3 octave:5> source ("test.m") X- 1 octave: 6> source ("test.m") x=2 octave:7 source("test.m") x=2 2) Consider the Monty Hall problem (Those not familiar can find it here http://en wikipedia org/wiki Monty Hall problem or watch the following video until 1:07 http://www.youtube.com watch?v=m hlc7peGIGg ). a) Write the pseudo-code to ask the user which door they would like to initially choos Also write the code to pick the winning door at random (Hint: store these in variables Code x = rand(3) Output: octave: 1 source("test.m") X-3 octave:2> source("test.m") octave:3> source("test.m") octave:4> source("test.m") x=3 octave:5> source ("test.m") X- 1 octave: 6> source ("test.m") x=2 octave:7 source("test.m") x=2 2) Consider the Monty Hall problem (Those not familiar can find it here http://en wikipedia org/wiki Monty Hall problem or watch the following video until 1:07 http://www.youtube.com watch?v=m hlc7peGIGg ). a) Write the pseudo-code to ask the user which door they would like to initially choos Also write the code to pick the winning door at random (Hint: store these in variables
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
