Selecting an answer

2 visualizaciones (últimos 30 días)
Sven
Sven el 7 de Nov. de 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 comentarios
Andrei Bobrov
Andrei Bobrov el 7 de Nov. de 2011
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven el 7 de Nov. de 2011
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

Iniciar sesión para comentar.

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Puzzles en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by