First, I use the randomized list of the courses according to the randomization application (random.org). I used the bootstrapping simulation because I want to use this data that I get to represent the whole population (all undergraduate psychology courses offered at IU) and find the confidence interval.
Then, I run the simulations 100,000 times as the data have been stabilized at this point. In this case, one run of the run simulation means. Each run of this simulation means picking 30 values with replacement from the original sample, calculating the mean of the new sample and the record the mean on the chart. I get the observed mean is 46.04 and the observed median is 37.8. In this case, I just look at the mean of this data. Then, to estimate the 95% confidence interval for this problem, I simply select the range based on percentile and select the percentile range between 2.5 to 97.5. I got 36.22 for the 2.5 percentile and 56.5 for the 97.5. So, I can be 95% confident that the true mean of the population is between 36.22 and