# Calculate volume using double integrals

What is the volume of a barn that has a rectangular base 20 ft by 40 ft, vertical walls 30 ft high at the front (which we assume is on the 20-ft side of the barn), and 40 ft high at the rear? The barn has a flat roof. Use double integrals to compute the volume.

HallsofIvy