Develop a Fortran software system that will display a menu, accept the user’s choice, validate the entry and proceed to the corresponding module(s), or exit. In addition, the application must: Clear the screen before displaying the Main Menu and any prompts for data, and then, before displaying any results Display appropriate error messages when invalid data is entered. Wait for the user to press Enter, clear the screen, and display the data entry prompt(s) again Clear the screen one last time when the user exit the application The choices in the Main Menu can be letters or numbers. Regardless, the eXit option must be an ‘x’ (small or capital case) Your submission must include screenshots of runs of the application with wrong and correct entries. The modules must be compiled as separate units from the driver program. All the source files, along with the screenshots must go into a single .zip archive1. ADDITIONAL FUNCTIONALITY
We will again simulate the situation as a density problem by means of the Poisson probability distribution function. Assume that a sample of different regions of space is taken and that the 1 In case you do not know how to ‘pack up’ your files within a .zip archive, ask the assistance of the computer labs attendants.
region under consideration is studied for 24 hours, with a tally of traceable objects every minute (1440 tallies in each region).
Develop a Fortran module that will read the results of the samples from a user-specified input data file. Each line (record) in the file contains the total tally of objects in the observed region, its volume in km3, and the geocentric orbit where the study was conducted (LEO, MEO, or GSO) For instance, a line containing 625 2700 LEO, means that in a low Earth orbit region of 2700 km3, 625 traceable objects were detected in a period of one day, taking a tally at each minute. This data must be converted to No. of objects / pizza box-minute. After reading through the file, and making the conversions, the average and standard deviation per geocentric orbit (LEO, MEO and GSO) in “pizza boxes” must be calculated. These will be the estimated population means (λ). Using these pieces of data, the program will answer to questions, such as probability of 2 objects/pizza box-minute at GSO, MEO, or LEO. The calculation is done through the Poisson probability distribution function: