这是由书上的一道例题演变过来 大虾们帮帮忙 2. Problem Statement:
) m3 b2 i( c% Q* v2 Q* }' _Customers visit the neighborhood barbershop Fantastic Dan for a haircut.Among the customers there are 20 percent children, 50 percent women, and 30 percent men. The customer interarrival time is triangularly distributed with a minimum,mode, and maximum of seven, eight, and nine minutes respectively. The haircut time (in minutes) depends on the type of customer and is given in following Table.This time also includes the initial greetings and the transaction of money at the end of the haircut. Run the simulation model for one day (480 minutes).
$ l9 u* i, I2 ]0 F- w4 h3 \3 N6 S/ c0 w2 |
; L6 e0 C3 g& ]2 |% J haircut time(min) % u( e; A& P) Z! |0 x$ A
7 q% s( U0 h7 W* E
customers mean half-wildth9 p4 g# K6 P% q1 O' z
9 J, V2 u# D/ W$ I
children 8 2$ Z; q4 g" Z2 g
women 12 3
. B( L% c8 g% b8 B6 v: Ymen 10 3: \* ^2 Y( @; j- ^ u- |
; w6 C# u5 y4 w5 s3 U! ]) _; T
( a' E) I# B, ?3 Q3 d
) X; p, F% H) }7 D8 d* O4 X
6 ~5 U3 F" p5 D' h0 m6 N8 E6 G. j0 {& x* d' Y1 k
! ^. F8 V* V% w# @. \) l
Find these answers:
' |: u* ^6 L9 v) s& G* k1 ra. About how many customers of each type does Dan process per day? - Q( L, Q3 j5 `- D
b. What is the average number of customers of each type waiting to get a haircut? What is the maximum?/ X3 U; n, _) o" ]( h9 \$ G# k) Y
c. What is the average time spent by a customer of each type in the salon?: g6 z; _( `; N7 g0 @
What is the maximum?9 h- `% ?4 {# l7 J; d" s u
( [: u' W, E& l
[ 本帖最后由 nick86825 于 2008-4-17 20:54 编辑 ] |