这是由书上的一道例题演变过来 大虾们帮帮忙 2. Problem Statement:
' c& H' m& m( C" w6 SCustomers 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)." { m8 l" l. _ Y* n" n
7 S3 h) r" e4 Z2 n \
) q* [, N/ R# n) P V3 d haircut time(min)
! e' X9 L0 |" _/ ?/ t' a, M `( B* \0 s9 i9 {' s
customers mean half-wildth
) X. r2 F$ {/ Y8 R5 ^6 T. j1 H
children 8 2
2 m* G: ^, f6 W3 l2 Awomen 12 3
% t- R6 K2 w* jmen 10 3
! O0 H4 x$ B* N$ a 9 i+ ], V( }1 Z2 N- O
* c. L) ]3 f, b: L3 x8 S+ |$ i
8 {+ e. v* r+ c( F0 x6 ^7 J) R* ^* a3 W7 Z+ e
9 U0 x7 M* y2 j* e" |
3 `/ E6 G. q1 r; K/ R6 DFind these answers: ' \. }7 F1 z/ p1 R% J* b# P6 z
a. About how many customers of each type does Dan process per day?
; }( z7 x( W5 l6 W5 f* _b. What is the average number of customers of each type waiting to get a haircut? What is the maximum?# l6 q# G! ~# K! d! b( ~$ q7 g* w! l
c. What is the average time spent by a customer of each type in the salon?2 ^- y8 _6 G6 ?4 X: c$ ^& p4 j% `
What is the maximum?
F+ N1 y" [( v! s1 ~ r) H e- w; j' W
[ 本帖最后由 nick86825 于 2008-4-17 20:54 编辑 ] |