PYTHON CODE: In this scenario you are the responsible engineer that optimize Air traffic flow of Ataturk Airport. Each day, number of airplanes take-off and landing varies between 50 and 70 each. However, if weather conditions go rough in Istanbul, it affects (decrease) %60 of landing and %40 of take-off. In Istabul possibility of rough weather events observed as 0.3 (%30). Create daily weather for a month considering rough weather possibility and print on screen. Calculate number of airplanes take-off and landing separately every day for a month. Calculate total take-off and landing for a month. Calculate low-median, high-median, median, mean and stdev of take-off and landing every day for a month.
PYTHON CODE: In this scenario you are the responsible engineer that optimize Air traffic flow of Ataturk Airport. Each day, number of airplanes take-off and landing varies between 50 and 70 each. However, if weather conditions go rough in Istanbul, it affects (decrease) %60 of landing and %40 of take-off. In Istabul possibility of rough weather events observed as 0.3 (%30). Create daily weather for a month considering rough weather possibility and print on screen. Calculate number of airplanes take-off and landing separately every day for a month. Calculate total take-off and landing for a month. Calculate low-median, high-median, median, mean and stdev of take-off and landing every day for a month.
Sample Output:
daily weather for a month:
[1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1]
daily take_off for a month:
[61, 62, 61, 66, 54, 58, 40, 41, 54, 56, 52, 64, 51, 61, 53, 57, 54, 65, 39, 56, 70, 57, 62, 32, 59, 33, 35, 58, 39, 58]
monthly take_off: 1608
daily landing for a month:
[60, 68, 58, 61, 70, 56, 25, 20, 54, 59, 53, 60, 64, 65, 67, 70, 64, 54, 22, 54, 68, 52, 61, 24, 60, 20, 28, 63, 26, 54]
monthly landing: 1560
take-off statistics
Low Median: 56
High Median: 57
Mean 53.6
Stdev 10.347746714573445
Landing statistics
Low Median: 58
High Median: 59
Mean 52
Stdev 16.762026048225177
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images