I have to write code to build a numeric vector with 20 elements and sample elements of the vector such that the probability that an item is taken to be proportional to the square of that value.

As I estimate the probability?

Cheers, Oscar


	[[alternative HTML version deleted]]

