Write Matlab code (or any other programming languages of your choice) to do the following:
1. Generate a 100 point population, A, using a Gaussian distribution with mean = 20 and standard
deviation = 2.5.
2. Generate a 100 point population, B, using a uniform distribution between 10 and 30.
3. Randomly pick 30 points each from the populations A and B to generate new populations C and
D, respectively.
4. Calculate the following for the populations, A, B, C, and D:
a. Mean.
b. Standard deviation.
c. 95% confidence limit.
d. Identify all outliers within 50% confident limit in C and D using Grubbs test.
e. Report 95% population mean uncertainties for C and D.
Summarize the results by plotting the distributions of A, B, C, and D. Use a table to illustrate the
calculated values from above (mean, standard deviation, CL, number of outliers, etc.). Discuss the
results (what parts of the results are expected and what parts of the results are unexpected).