Dear All,

I would like to request to solve the problem. The problem is:

1)Consider the pdf

f(x)= B x^{B-1}0<x<1

0 else

Use Monte Carlo method (MCM)to generate and print 10 observations from this distribution, with Beta(B)=.5. You will write a simple R code for any value of B. Generate but donot print 10,000 observations, compute their sample mena and compare it to the true mean(of the distribution above).

2)Same question as above for the so-called Weibull distribution, with h=1.5find first F^{ -1}.)You will write down a simple R code for any value of h.

f(x) = (3/h^{3})x^{2 }e^{(-x 3 /h2 ) }0<x<infinity

0 else