这是由书上的一道例题演变过来 大虾们帮帮忙 2. Problem Statement: t+ C1 C$ J. ]; V; M6 p' h2 B$ Y, c/ r
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).$ ^: @ e* S% \) ^8 J) ^
( N+ t% c2 \6 \% q" c
3 Y* \/ X6 o1 e% u( I! h5 T' V9 }
haircut time(min) , x( p$ t. V5 T8 t1 j; F
) q) r2 q* S, r o6 \( ocustomers mean half-wildth; w0 B) }1 f; z$ y' H$ U
: Q$ l, ] [+ g3 tchildren 8 2# u! Q' u$ t1 Z {3 ~9 e; L' s+ i
women 12 3
$ W7 `# T- a( I6 x! Smen 10 3
l3 M" N( E" `5 _+ Z / `$ C7 |+ ?# {& a
/ N7 v B/ r2 I* K
4 j: F( u* k$ h, ^* l6 Y! j% N9 ]/ L, d
" A( H$ y; [8 Y
; e& k2 ~4 J$ I- A) [Find these answers:
' z- h4 ?2 n% y9 za. About how many customers of each type does Dan process per day? & ~( {7 U; E" _: R5 X
b. What is the average number of customers of each type waiting to get a haircut? What is the maximum?
5 @9 j1 I4 b3 |# |* a1 z# uc. What is the average time spent by a customer of each type in the salon?
6 @1 ^9 ~ {) r2 l) s- d R: MWhat is the maximum?1 s6 [/ Q5 m- L' W8 r, d# M
' J @) r+ a" m+ k3 x+ {[ 本帖最后由 nick86825 于 2008-4-17 20:54 编辑 ] |