TMA1301 Assignment T2 - 1617
TMA1301 Assignment T2 - 1617
Instructions:
1. This is an assignment done in groups of 3 or 4. Submit your group members’
name (3 or 4 members in a group) to your respective lecturer.
2. The date for the submission is on Monday of Week 14. Please hand in the
FreeMat code in CD attached together with the report. Label your CD with the
names of your group members and provide an e-mail address for contact
purposes.
3. For the report, write down the detail of your simulation, construct the diagram
such as flow-chart for each simulation and provide all outputs, table( service time,
inter-arrival time and simulation) and results (evaluation results).
Queue simulator
Create a simulator for customer arrivals at any shops, restaurants, banks or etc for
acquisition of things, foods, services or etc. The simulation system should be able to
simulate a queuing system at most for three servers. Firstly, generate the table of the
service time, inter-arrival time and item number for three servers.
d) display the table for the inter-arrival, service time and item number at the
beginning and simulation table at the end. (refer to the example in the notes).
Example of two servers as below:
Server 1:
Server 2:
e) evaluate the results of the simulation, for example average waiting time of a customer,
average inter-arrival time, average arrival time, average time spent, probability that a
customer has to wait in the queue and average service time for each server (refer to
the example in the notes).