Many random number generators allow users to specify the range of the random numbers to be produced. Suppose that you specify that the random numbercan take any value between 0 and 2. Then the density curve of the outcomes has constant height between 0 and 2, and height 0 elsewhere.(a) Is the random variablediscrete or continuous? Why?This is a discrete random variable because the set of possible values is an interval.This is a continuous random variable because the set of possible values is an interval.This is a discrete random variable because it has a finite sample space.This is a continuous random variable because it has a finite sample space.(b) What is the height of the density curve between 0 and 2? Draw a graph of the density curve.(c) Use your graph from (b) and the fact that probability is area under the curve to find P(Y ? 1).