【在 d******e 的大作中提到】 : 1 / 2t = 1 - (a-1) / a * (b-1) / b : t = a * b / (a + b - 1) / 2 : a = 10, b = 14 => t = 3.04
l*b
15 楼
整点按时发车的,已开始应该是同时发车,后面按间隔吧
【在 g**e 的大作中提到】 : 为啥不独立?两列火车呀
p*c
16 楼
I think this is correct. But don't really understand the reasoning. Can you explain? My thinking is this: In 70 mins interval, there are 7 trains of every 10min and 5 trains of every 14 min. The last two trains all arrive at time 70. So in total, the trains divide the 70mins into 11 segments. So the average interval between trains are: total_time_interval/number_of_segments = 70/11 So the average waiting time is half of that, which is 35/11.
【在 d******e 的大作中提到】 : 1 / 2t = 1 - (a-1) / a * (b-1) / b : t = a * b / (a + b - 1) / 2 : a = 10, b = 14 => t = 3.04
k*a
17 楼
Let X be the time to wait to train 1: then f(X)=1/10, 0Let Y be the time to wait to train 2: then f(Y)=1/14, 0The waiting time is T=min(X, Y) Without any information on the schedule of the two trains, it is reasonable to assume X and Y are independently distributed, f(X, Y)=1/140 so E(T) = integrate over X and Y = 3.809524
y*u
18 楼
There are 11 time slots (10, 4, 6, ...). Within each slot, customer needs to wait avg (5, 2, 3, ...). Considering the probability into each slot time, we can 10*10 + 4*4 + 6*6 +8*8 + 2*2 + 10*10 + 2*2 + 8*8 + 6*6 + 4*4 + 10*10) /140 = 3.857.
【在 y*****u 的大作中提到】 : : There are 11 time slots (10, 4, 6, ...). Within each slot, customer needs to : wait avg (5, 2, 3, ...). Considering the probability into each slot time, : we can 10*10 + 4*4 + 6*6 +8*8 + 2*2 + 10*10 + 2*2 + 8*8 + 6*6 + 4*4 + 10*10) : /140 = 3.857.
【在 y*****u 的大作中提到】 : : There are 11 time slots (10, 4, 6, ...). Within each slot, customer needs to : wait avg (5, 2, 3, ...). Considering the probability into each slot time, : we can 10*10 + 4*4 + 6*6 +8*8 + 2*2 + 10*10 + 2*2 + 8*8 + 6*6 + 4*4 + 10*10) : /140 = 3.857.
c*u
21 楼
(1/11)*(5+2+3+4+1+5+1+4+3+2+5) ?
t*h
22 楼
this seems correct.
reasonable
【在 k*******a 的大作中提到】 : Let X be the time to wait to train 1: then f(X)=1/10, 0: Let Y be the time to wait to train 2: then f(Y)=1/14, 0: The waiting time is T=min(X, Y) : Without any information on the schedule of the two trains, it is reasonable : to assume X and Y are independently distributed, f(X, Y)=1/140 : so E(T) = integrate over X and Y = 3.809524
c*t
23 楼
给概率盲解释一下吧。 看不懂E(T)怎么算的。
【在 t*********h 的大作中提到】 : this seems correct. : : reasonable
t*h
24 楼
assume X is a random varaible, then E(X)=int( X F(X)DX ). (this is so ugly. see http://en.wikipedia.org/wiki/Expected_value) e.g. for first train: X is your waiting time, then we have E(X) = int(X*1/10)DX = X*X/20, X from 0 to 10. plug in we have E(X)=5.
【在 c********t 的大作中提到】 : 给概率盲解释一下吧。 : 看不懂E(T)怎么算的。
c*t
25 楼
好吧,放弃了
.
【在 t*********h 的大作中提到】 : assume X is a random varaible, then E(X)=int( X F(X)DX ). (this is so ugly. : see http://en.wikipedia.org/wiki/Expected_value) : e.g. for first train: : X is your waiting time, then we have : E(X) = int(X*1/10)DX = X*X/20, X from 0 to 10. plug in we have E(X)=5.
【在 y*****u 的大作中提到】 : : There are 11 time slots (10, 4, 6, ...). Within each slot, customer needs to : wait avg (5, 2, 3, ...). Considering the probability into each slot time, : we can 10*10 + 4*4 + 6*6 +8*8 + 2*2 + 10*10 + 2*2 + 8*8 + 6*6 + 4*4 + 10*10) : /140 = 3.857.