Question: USE MATLAB: Before running the programs for each part, increase the simulation time from 8 to 1 6 minutes by doubling the number of intervals

USE MATLAB:
Before running the programs for each part, increase the simulation time from 8 to 16 minutes by doubling the number of intervals (i.e. changing n=48 to n=96).(a) Simulation shows that for a 0.3 probability of car arrival in any one second, a 20 second green and 40 second red cycle (i.e. p=0.3, GREEN=2, RED=4) appears to lead to traffic congestion. Run this case for the 16 minute total time to see if the congestion gets worse or eases.(b) Investigate the flow for lighter traffic cases where p=0.2 and 0.25. You may want to extend the time intervals further to see if a steady state condition is reached.(c) For p=0.3, change the cycle to have green and red for equal time (i.e. set GREEN=3 and RED=3). For each run, only submit the print-out of the last 15 to 20 red/green intervals(not all 96 intervals). Discuss your results.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!