Verification of central limit theorem

AIM: Simulating the Central Limit Theorem with the Uniform Distribution in MATLAB.

OBJECTIVE: To verify Central limit theorem using MATLA

EQUIPMENT:

   PC with windows (95/98/XP/NT/2007).

   MATLAB Software

PROGRAM:

uniform_RVs = [];
sample_averages = [];
random_draw = [];
for i = 1:500
for j = 1:100
random_draw = [random_draw 1+rand];
end
sample_averages = [sample_averages mean(random_draw)];
uniform_RVs = [uniform_RVs random_draw];
random_draw = [];
end
figure(1)
hist(uniform_RVs, 25)
xlabel('Observation')
ylabel('Frequency')
figure(2)  
hist(sample_averages, 25)
xlabel('Observation')
ylabel('Frequency')
sample_mean = mean(sample_averages)
sample_var = var(sample_averages)

CONCLUSION: Thus Cental limit theorem is verified using MATLAB

OUTCOME: The Student must be able to understand how to verify Central limit theorem using MATLAB

VIVA QUESTIONS:

? Define Central limit Theorem?

? List the applications of Central limit Theorem?