ChaseDream

标题: GWD7一道郁闷的题 [打印本页]

作者: cll0503    时间: 2009-6-4 15:47
标题: GWD7一道郁闷的题

Q14:

If a code word is defined to be a sequence of different letters chosen from the 10 letters A, B, C, D, E, F, G, H, I, and J, what is the ratio of the number of 5-letter code words to the number of 4-letter code words?

 

A.     5 to 4

B.     3 to 2

C.    2 to 1

D.    5 to 1

E.     6 to 1

我算来算去都是6比5,答案没有的,谁帮我解一下,谢啦!


作者: charles_yi    时间: 2009-6-4 16:09

5-letter code words 比4-letter code words多取一次数,6个里面任选一个,几率为6

所以ratio为6:1


作者: cll0503    时间: 2009-6-4 16:16
那为什么我用死办法算,就是10个里面选5个比上10个里面选4个,算出来不对呀?
作者: usocean    时间: 2009-6-4 16:23

这题的意思是a是一个排列,这个排列是从10里面随意取n个数的排列。

问题是10里面任意取5个数的排列的数量 和 10里面任意取4个数的排列 的比例

计算就是:P10 5  /  P10 4 = (10-4)! / (10-5)! = 6!/5! = 6


作者: usocean    时间: 2009-6-4 16:26

MM你应该是错在用C10 5 / C10 4 了,对吧?

原题中说了定义的是sequence,是要用排列的


作者: charles_yi    时间: 2009-6-4 16:27
以下是引用cll0503在2009-6-4 16:16:00的发言:
那为什么我用死办法算,就是10个里面选5个比上10个里面选4个,算出来不对呀?

因为你仅仅是把数选出来了,但是忘了排序

10个里面选5,排序是P5 5=5!

10个里面选4,排序是P4 4=4!

所以,(6:5)*(5!:4!)=6:1


作者: cll0503    时间: 2009-6-4 18:36

天哪,我发现我好傻 :(






欢迎光临 ChaseDream (https://forum.chasedream.com/) Powered by Discuz! X3.3