概率统计版 #169946 层

一道英文简单的概率题

楼主 · 1 楼
使用Matlab编写的程序看看:
clear all;
clc;
t=0;
for i=0:3
for j=0:3
for k=0:3
if (i+j+k)==3
t=t+1;
M(t,1)=i;
M(t,2)=j;
M(t,3)=k;
end
end
end
end
fprintf('The Number of T is %g \n\n',t)
disp('The Result of The Qestion')
M
运行结果:
The Number of T is 10

The Result of The Qestion

M = 0 0 3
0 1 2
0 2 1
0 3 0
1 0 2
1 1 1
1 2 0
2 0 1
2 1 0
3 0 0

这里只有10种可能!
2 楼
Three balls are placed at random in three boxes, with no restriction on the number of balls per box; list the 27 possible outcomes of this experiment.
我怎么也找不出27种。请大家帮忙。谢谢
3 楼
The balls should have been numbered. Then in Arrangement, not Combination, the result is 27.
4 楼
由于对于每个盒子的球数没有限定,所以第个球都有3种,所以有3*3*3
5 楼
maxcai
的答案是正确的
6 楼
Goss_006的答案是球没有编号的情况,也就是4+3+2+1=10