written 8.5 years ago by | • modified 4.1 years ago |
Arrival and service time for a shop is randomly distributed. Simulate the system to help the shopkeeper in making a decision of taking helpers in his shop. - | Arrival time | Probability | Service time | Probability | |--------------|-------------|--------------|-------------| | 0 | 0.06 | 4 | 0.04 | | 3 | 0.09 | 6 | 0.10 | | 6 | 6 | 8 | 0.18 | | 9 | 0.37 | 10 | 0.44 | | 12 | 0.16 | 12 | 0.24 | | 15 | 0.07 | | |
Random numbers: 5887, 4739, 2328, 6997, 3569, 5587, 6952, 9052, 8615, 7485 - $1^{st}$ 2 digits represent – random no. of arrival - Last 2 digits represent – random no. of service -