2. I have 10 pounds of a product in stock. The demand D for the item is a continuous random variable with the following density function: ¯ ® ­ d d otherwise if d f d 0, 0.1, 5 15 ( )

 We want to apply simulation to answer the following five questions: 

(i) What is the probability the stock can meet the demand? 

(ii) What is the expected weight of items sold

? (iii) What is the variance of the weight of the items sold?