function [arrivet,departt,ET,NS]=oneservQ(start_time,mu) % initializes one server queue % runs arrivals and departures until clock time T assumed <9999 %mu is service rate. % intialization step. clock=clock time. Keeps track of NA and ND=number of arrivals,departures % by present time. EL=system state=(TA,TD)=time of next arrival, time of next departure clock=7; T=12; NA=0; ND=0; EL=[7,9999]; %ET=eventtimes, NS=number in system (immediately after) times ET ET=[]; NS=[]; arrivet=[]; %initialize the arrival and departure times of customers. departt=[]; while(clock