Find the mass of the rectangular prism , with density function .