
alpha_1=1;
beta_1 = 0.5;
sim= 1000;

X = zeros(sim,1);
U = rand(sim,1);

for i=1: sim,

	X(i,1) = weibull_RV(U(i,1), alpha_1, beta_1);

end;


figure(2)
hist(X);
xlabel('x');
ylabel('P(x)');
title('Weibull Distribution');