use a uniform distribution to sample from a beta be(2, 1.5). plot a histogram of your samples and verify that it looks like the desired distribution.