1AςзZL^yM)#priority_q.mod5<1. For the priority queue, use the usual queue icon (ladder)8 After you define the Q (quantity) attribute, use the: Rules menu to indicate that the exit priority from the/ queue is the smallest value of attribute Q.6 Then go to the Graphics menu; push the Edit button6 and make sure that this location is a Queue, NOT a3 Conveyor; if necessary, click the Queue switch.:2. For the customer entity, be sure to increase the speed9 from 150 to a large value, like 1500000. In this way< you will get the throughtimes that you expect; in otherC words, the "travelling time" for customers will be negligible.:3. For the customer arrivals, with frequency 1, make sure: you have QTY = 1 and Occurences = INF. (If Occurences( = 0, no one will enter the system).14. We want Q to be a random integer in the range9 2, 3, 4, 5, 6, 7, 8, 9, 10, 11. Some people want to< use Q = int(U(6.5,4.5)). Now U(6.5,4.5) is a uniformly7 distributed real value in the range from 2 to 11.: Therefore, the probability that U = 11 is 0. So this= formula is not correct; if you try it, you will see no 6 occurences of U = 11 during the first 1.5 hours.) To generate Q correctly, we can use Q = int( U(7,5) ) or' Q = 2 + TRUNC( 10*U(.5,.5) ); In either case, with probability 0, Q could equal 12, so we can test for that case and redefine Q to have some other value. This is always the problem with a uniform [0,1] random variable; it is easier to work with a uniform [0,1) random variable.  5. Extra Credit (10 points) F This is an exercise to check that the priority queue is working correctly.B Carefully trace the execution until 20 exits have occurred. With paper and pencil, = make a table showing, for each customer up to the 20th' exit, the following information:* A Q tt Exit_time 0 1 2 etcA For each exit, mark the person on the queue who goes next, the person with the smallest Q value. As you continue the trace, verify that this is the next person to exit. Show this< by marking your table. Continue until 20 exits occur,   PROMOD4.GLB{Gz???curr0AQcustomer1500000I$@۶@2.57146.4286entrym[@۶m@1serverww/A#A[[[MH1 q_priority6020.288A@ INFINITE1INF10 f A = Clock()Q = 2 + TRUNC(10*U(.5,.5))IF (Q = 12) THEN {Q = 11}-DISPLAY "customer entry: A = " $A$ " Q = " $Q1DY1WAIT 1 + 0.5*Qcurr = Clock()*DISPLAY "exit: curr = " $curr$ " A = " $A$& " Q = " $Q$ " thrutime = " $curr - A1!