An inequality of Ostrowski's type for a random variable whose probability density function is in L∞ [a,b] in terms of the cumulative distribution function and expectation is given. An application for a Beta random variable is also given.