Consider the table
| Period | Monday | Tuesday | Wednesday | Thursday | Friday | Total | Average |
| 1 | 277 | 374 | 259 | 340 | 207 | 1457 | 291.4 |
| 2 | 653 | 728 | 593 | 691 | 453 | 3118 | 623.6 |
| 3 | 908 | 863 | 824 | 798 | 604 | 3997 | 799.4 |
| 4 | 962 | 782 | 849 | 795 | 561 | 3949 | 789.8 |
| 5 | 914 | 858 | 795 | 927 | 510 | 4004 | 800.8 |
| 6 | 711 | 773 | 375 | 816 | 527 | 3202 | 640.4 |
| 7 | 686 | 734 | 696 | 733 | 348 | 3197 | 639.4 |
| 8 | 638 | 647 | 659 | 627 | 349 | 2920 | 584 |
| 9 | 341 | 313 | 325 | 351 | 136 | 1466 | 293.2 |
| 10 | 110 | 149 | 151 | 160 | 45 | 615 | 123 |
I calculated the sum of each period and found the average of each by the formula total sum / n ( where n =5)
Hence the period 5 (10:40-11:30am ) has the highest average enrolment among the all periods.
FALL 2019-202 5) Solve the following Class Enrollment by Period and Days of the First Week...
PYTHON! The Sieve of Eratosthenes THANKS FOR
HELP!
A prime integer is any integer greater than 1 that is evenly
divisible only by itself and 1. The Sieve of Eratosthenes is a
method of finding prime numbers. It operates as follows:
Create a list with all elements initialized to 1 (true). List
elements with prime indexes will remain 1. All other elements will
eventually be set to zero.
Starting with list element 2, every time a list element is found...
Implement a method that uses insertion sort to sort numbers. Use the numbers provided in files (100.txt, 1000.txt, 5000.txt, 50000.txt, 100000.txt and 500000.txt) as input. Measure the time taken to sort these numbers (do not include the file IO time). Plot the time taken to sort the numbers [Programming, 35 points] .Files to submit. A report that briefly talks about your solution to each of the problem (the explanation should not exceed more than half pages each). Seperate file for...
Python Program Eratosthenes of Cyrene lived approximately 275-195 BC. He was the first to accurately estimate the diameter of the earth. For several decades he served as the director and chief librarian of the famous library in Alexandria. He was highly regarded in the ancient world, but unfortunately only fragments of his writing have survived. The algorithm described for this assignment is known as the Sieve of Eratosthenes. The algorithm is designed to find all prime numbers within a given...
The O-So-Tasty Chocolate Company produces different types of chocolates daily. They need a little summary report that shows how much of each chocolate type they produce for a given month. This way they can plan next month’s production schedule. They record each day’s production for each chocolate type in a file named Chocolates. I will put the file out on Blackboard under Assignments.. The data indicates the batches of chocolates made each day and is describes as the type of...