这是由书上的一道例题演变过来 大虾们帮帮忙 2. Problem Statement: " B- `' I4 j( V0 V4 v
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).3 ~/ o/ @ W1 H) S0 {
% }. Q/ m( T6 y5 F
3 F9 D% ~0 m# y9 c( c x% M, w: h haircut time(min) . G* C V; V9 |
/ h2 H! F3 @9 l' Fcustomers mean half-wildth9 F6 K, \) s. W9 k6 A$ I
) K* U/ e" i8 Q \2 Ychildren 8 2: i. n! Z6 a N* m, `/ h
women 12 3
5 k8 }6 O! x2 k7 ~men 10 3( Y; [& y( l9 \' {6 t- t j9 u! A
( W; u0 T- B$ @5 H4 f4 Y
! o- C8 Q. e! l
4 i# a# o! c& V7 [8 Q$ ?% B
% T0 U$ N" \8 `
4 e! V; O( g4 x8 k; I+ ]4 c, m
/ x& T) c4 n6 F7 S' ?5 J/ k; GFind these answers:
& j8 f/ B& K# pa. About how many customers of each type does Dan process per day?
, X3 ~+ I$ {' l% [/ b( T, Kb. What is the average number of customers of each type waiting to get a haircut? What is the maximum?
" z- j% [7 q4 g# @% l$ qc. What is the average time spent by a customer of each type in the salon?
& w9 [5 y2 A4 V2 i2 @! qWhat is the maximum?( v* u# A6 U( O: [; ^/ r% s" N
/ L6 P% [4 B# Q0 _8 f: k[ 本帖最后由 nick86825 于 2008-4-17 20:54 编辑 ] |