Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help solving this problem using python. thanks ! There is a region with small towns connected together by a network of roads. In

i need help solving this problem using python. thanks ! image text in transcribed
image text in transcribed
There is a region with small towns connected together by a network of roads. In each town is a traffic light and traffic going through a town takes one of two routes out of the town, depending on the traffic light If a car enters town A, it moves to B or C, then to D, E, or F, and proceeds through the network reaching P. The car leaves one town going to either of two destination towns according to probabilities in the following table ABCI) | E | F | G | H | 1 | J | K | L | M | N | O |P 2 .8 2 8 3 .7 5 .5 1.0 The time to drive the roads between towns in minutes is given in the table below: A B | C | D | E | F | G | H | | | J | K | LMI | N | O | P 4 6 4 6 Write a program to simulate traffic flow with 10,000 cars. Calculate the average Run this program 10 times and compute the average transit time for 100,000 cars Compare the 10 runs of 10,000 with the one ro100,000. transit time from A to P and calculate the standard deviation and the standard deviation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Managing Your Information How To Design And Create A Textual Database On Your Microcomputer

Authors: Tenopir, Carol, Lundeen, Gerald

1st Edition

1555700233, 9781555700232

More Books

Students also viewed these Databases questions

Question

1. Identify the sources for this conflict.

Answered: 1 week ago

Question

3. The group answers the questions.

Answered: 1 week ago