这是由书上的一道例题演变过来 大虾们帮帮忙 2. Problem Statement: 2 y% n& ?0 T/ r( x8 i
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).& L4 ]$ V+ C l' |2 r/ f. o
9 }8 {" t& ~9 @) _+ k
$ M( t. b* H; t" i
haircut time(min)
+ l0 i& ^( M0 n3 P
3 F% J9 K- G$ _! @' _( Ncustomers mean half-wildth
" t6 [8 w+ f. Z1 _3 B$ I3 t& e' q4 m* w9 H: p T, \- ?5 {
children 8 2) L/ Y" D8 Z, R: X% L
women 12 3
; p4 c3 d0 i( Q0 L! \6 A/ v9 Kmen 10 3. h5 m* U) a7 g
+ ]9 E) }3 J! }) g' l+ w! U7 z3 q' b/ w4 c& C
0 T9 [3 T& ?+ K* Z5 W, Z7 o
8 a* ?+ A! W$ ?$ W
& N, p& {/ |. J- O+ T9 V! o+ v3 Y6 w
Find these answers:
I# ^ \2 ?3 k3 x" d0 ba. About how many customers of each type does Dan process per day? 4 i. E! {! h# Y, ?
b. What is the average number of customers of each type waiting to get a haircut? What is the maximum?
! n% u2 i% v$ `: S7 Ic. What is the average time spent by a customer of each type in the salon?4 I& ~* F- b, q3 U8 g
What is the maximum?
! p: y$ s3 h3 u) G3 @: D9 A! o4 r
$ V# P T$ m4 E[ 本帖最后由 nick86825 于 2008-4-17 20:54 编辑 ] |