IEOR 131 - HW4 Solutions

# IEOR 131 - HW4 Solutions - Changing questions to answersone...

• Notes
• 9
• 100% (1) 1 out of 1 people found this document helpful

This preview shows pages 1–6. Sign up to view the full content.

Changing questions to answers…one problem at a time. TM HW 4 Solutions – Spring 2009

This preview has intentionally blurred sections. Sign up to view the full version.

RUN ENTER t a CAR = CAR +1 SERVE GREASE S>0 FIN t d t a = 1+2*RND t d = STIME CAR>0 R=RND, INCAR= 1+4*RND, STIME=(INCAR==1)(25+10*RND)+ (INCAR==2)((25+10*RND)+(25+10*RND))+ (INCAR==3)((25+10*RND)+(25+10*RND)+(25+10*RND)) (INCAR==4)((25+10*RND)+(25+10*RND)+(25+10*RND)+(25+10*RND)) CAR=CAR-1, S=S-1 Does that work??? CLICK IT UP!!! << S = S+1 NOTE: RND is used two different ways – why?
One line, five parallel servers. (A) Minimum number of events? ONE. (B) What type of event does this minimum list contain? ENTER (C) What is the maximum number of events? SIX (D) What type of events does this maximum? 1 ENTER, 5 STARTS or LEAVES (one per busy server)

This preview has intentionally blurred sections. Sign up to view the full version.

RUN ENTER t a CUST = CUST +1 YUMM Y ICE CREAM S>0 FIN t d CUST>0 S=S-1 CUST=CUST-1 S=S+1 ta = 2+4*RND td = 3+5*RND Run Time: 240
RUN ENTER t a CUST = CUST +1 SERVE S>0 FIN t d S>0 S = S+1 NEWMAN S<=0 & NEWMAN>0 COUNT < 3 NEWMAN = NEWMAN -1 CUST = CUST -1 COUNT = COUNT+1 S=S-1, CUST = CUST -1 FIN BREAK BAC K NEWMAN=NEWMAN+1 NEWMAN= NEWMAN+1 COUNT = 0

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Spring '08
• Leachman
• Rnd, NEWMAN NEWMAN, ta RUN ENTER, RND td

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern