Selecting an answer

7 Ansichten (letzte 30 Tage)
Sven
Sven am 7 Nov. 2011
Ok here's a brain-teaser type question. It's multiple choice. Enjoy :)
options = {'A','B','C','D};
myAnswer = options{randi(4)};
Now, what is the chance of "myAnswer" being correct for A,B,C,D below?
A) 25%
B) 50%
C) 60%
D) 25%
... and should I get the Statistics Toolbox to help me? :)
  5 Kommentare
Andrei Bobrov
Andrei Bobrov am 7 Nov. 2011
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven am 7 Nov. 2011
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

Melden Sie sich an, um zu kommentieren.

Antworten (1)

LY Cao
LY Cao am 7 Nov. 2011
B, have any questions?
  1 Kommentar
Sven
Sven am 7 Nov. 2011
hehe... please show your working? ;)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Puzzles finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by