histogram for the probability densities

165 Views Asked by At

Below are the questions and need inputs to create histogram using scilab. Let $X$ be a random variable that is uniformly distributed over the interval $(0, 100)$. Form a new random variable $Y$ by rounding $X$ to the nearest integer. Form the random roundoff error $Z = X − Y$. Create a histogram for the probability densities for the random variable $Z$. We have use scilab to create histogram. Please suggest.

Thanks