Find the average value of the function over the rectangular prism .