Question 765201
The probability density function of X which has a uniform distribution on [0, 10] is defined in the following manner:
f(x;A,B) = 1 / (B-A); where x is > or = A and less than or = B, f(x;A,B) = 0 for all other values of x,
now f(x;A,B) = 1 / (10 -0) = 1/10 for each number generated in [0, 10]
===============================================================================
the probability that the computer generates a number between 1 and 4 is 
(4 - 1) / (10 - 0) = 3/10 = .30