Selecting an answer

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

Walter Roberson
Walter Roberson 2011년 11월 7일
Cute ;-)
Jan
Jan 2011년 11월 7일
What do the percentage numbers mean? What is the qualitative difference between A) and D)?
Sven
Sven 2011년 11월 7일
Sorry Jan, just a puzzle I found - no further info available. I tried thinking it through as a last resort (thinking should always be a last resort)... but met some difficulty.
Andrei Bobrov
Andrei Bobrov 2011년 11월 7일
options{randi(4)} - 25% 25% 25% 25%
Sven
Sven 2011년 11월 7일
This video may help:
http://www.youtube.com/watch?feature=player_embedded&v=evKYF1G_uDI

댓글을 달려면 로그인하십시오.

답변 (1개)

LY Cao
LY Cao 2011년 11월 7일

0 개 추천

B, have any questions?

댓글 수: 1

Sven
Sven 2011년 11월 7일
hehe... please show your working? ;)

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Puzzles에 대해 자세히 알아보기

태그

질문:

2011년 11월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by