The table below shows performance data for 100 flights between cities A - G for some...

80.2K

Verified Solution

Question

Basic Math

The table below shows performance data for 100 flights betweencities A - G for some airline, including: date, flight #, origin,destination, # passengers flown (load), and tardiness (late, inhours).

write a VBA code (N=10000) to simulate the following:

1. (I7): number of flights which were late for at least 0.75hrs.

2. (I10) average load of flights originated from C with loadexceeding 250.

3. (I13): smallest tardiness of flights from B to E between9/1/18 and 9/3/18.

4. (I16): total load of flights flown from A to C, D, and E on9/4/18.

5. (I19): the flight # of the flight with the maximal load amongall flights from A to G with tardiness less than 0.6 hrs.

DateFlight #FromToLoadLate
09/01/187136CA2580.33
09/01/182770GE1790.50
09/01/182368AB2030.82
09/01/186690GF1890.96
09/01/187553AE2190.31
09/01/188323GA2460.80
09/01/187381DC2050.95
09/01/189008BC2810.52
09/01/188664AG2140.48
09/01/182826GE1710.62
09/01/186641CE2450.62
09/01/185402AF1940.06
09/01/183184AG2340.58
09/01/186806BA2570.46
09/01/189117DC2950.15
09/01/181259EG2830.54
09/01/185543BE3050.92
09/02/188008AD3190.39
09/02/188556AB2140.67
09/02/187559DF2850.08
09/02/188068CB2450.67
09/02/184717EC2860.71
09/02/186325FB1900.77
09/02/187037AF2590.73
09/02/185623DC2680.10
09/02/185431FC3020.90
09/02/183347CG2200.46
09/02/186860FE2240.96
09/02/181640CD2210.57
09/02/184486DG2060.06
09/02/189696AG3140.12
09/02/188081GE2700.46
09/02/189974GE2190.44
09/02/189724BC2450.20
09/02/183443BE1740.66
09/02/187582BE2180.27
09/03/182634GE2460.17
09/03/182617BD1720.08
09/03/187589ED2310.74
09/03/187545DB2260.72
09/03/188667EB2560.34
09/03/186576BF1990.07
09/03/188485CE2420.19
09/03/184958DF2810.17
09/03/188681FG2630.19
09/03/186224CF2810.97
09/03/186110BD1780.52
09/03/185971DA1880.11
09/03/185822BA1840.54
09/03/182075DA2420.62
09/03/189603AE2550.84
09/03/184909DG2520.51
09/03/184495AG3080.05
09/03/182861DA3160.20
09/03/188728AF1770.74
09/03/181327BG2160.76
09/04/189191AD2350.30
09/04/189239EC2350.72
09/04/185160EF2940.23
09/04/186930ED2270.52
09/04/189500FE2280.47
09/04/189861DB2480.92
09/04/185956DA1830.36
09/04/189071AD2670.53
09/04/187290EG1970.69
09/04/189086AC3100.08
09/04/185870DB2850.99
09/04/189595BA2310.56
09/04/189609DC3080.54
09/04/183446CB2880.27
09/04/189011GB2280.80
09/04/188651GD2250.87
09/04/182771FG1770.39
09/04/181360BA2310.33
09/04/187293GF2140.11
09/04/181412GC2560.62
09/04/182659AB2330.59
09/04/182847EF1820.47
09/04/184691DE2110.23
09/04/183392EA2320.48
09/04/183245CA2130.97
09/04/182691EA2480.07
09/04/189582GB2270.89
09/04/181591GB2800.25
09/05/185674BG3130.81
09/05/188560EG2880.09
09/05/181428DF2640.64
09/05/184483CE2210.73
09/05/183652GA2010.46
09/05/183474AC2060.92
09/05/188309FC2270.74
09/05/188774BA2090.65
09/05/182887AD2670.02
09/05/183499DE1830.33
09/05/188134CA2641.00
09/05/188516ED3150.83
09/05/187388CB2510.92
09/05/189037EC3190.45
09/05/181120EC2740.40
09/05/185919BF2540.65

Answer & Explanation Solved by verified expert
4.2 Ratings (719 Votes)
please find the answer using msexcel sort tools in Data Tab 1 I7 number of flights which were late for at least 075 hrs answer 21 sn Date Flight From To Load Late 1 932018 1327 B G 216 076 2 922018 6325 F B 190 077 3 912018 8323 G A 246 08 4 942018 9011 G B 228 08 5 952018 5674 B G 313 081 6 912018 2368 A B 203 082 7 952018 8516 E D 315 083    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students