Question: PLEASE SOLVE THIS QUESTION USING C++. Please provide the answer with C++ code, Input, and Output. 3. At a bus stop busses arraive at every

PLEASE SOLVE THIS QUESTION USING C++. Please provide the answer with C++ code, Input, and Output.
3. At a bus stop busses arraive at every 5 to 7 minutes with the arraival rate distributed as given in the table below. Time (Minutes) Probability 5 0.6 6 0.3 7 0.1 The number of passengers arraiving every minute varies from 2 to 6 and this follows a uniform distribution. The busses come with x number of seats filled where x is a random number from 25 to 45. The bus cannot accommodate more than 60 passengers. FIFO rule is followed in the system. Simulate the system for four hours and compute the avaerage number of passengers waiting at the bus stop. Can you compute the average waiting time for a passenger? Comment on the ovrall system behaviour. (4)
Step by Step Solution
There are 3 Steps involved in it
To solve this problem we will simulate the bus stop system using C The simulation will run for four hours 240 minutes to calculate the average number of passengers waiting at the bus stop and their av... View full answer
Get step-by-step solutions from verified subject matter experts
