Mathematics, Mathematics Education, Statistics, Probability, Science.
density of X ( which is a uniform random variable ) is non-zero only for all values of X lying in the interval [ a , b ]. The probability of X assuming a value in the range [ p , q ] is the integration of the PDF w.r.t. x that can be considered as the area under the curve of the PDF, The blue area