a certain barrel, which is a right circular cylinder, is filled to capacity with 60 gallons of oil. the first barrel is poured into a second barrel, also a right circular cylinder, which is empty. the second barrel is twice as tall as the first barrel and has twice the diameter of the first barrel. if all of the oil in the first barrel is poured into the second barrel, how much empty capacity, in gallons, is left in the second barrel? Options
A) there is no empty capacity	B) 100 gallons	C) 300 gallons	D) 420 gallons	E) 840 gallons
<gadget id="calculator">2 ** 3</gadget>
<output>8</output>

<gadget id="calculator">60 * 8</gadget>
<output>480</output>

<gadget id="calculator">480 - 60</gadget>
<output>420</output>

<result>D</result>
a certain barrel, which is a right circular cylinder, is filled to capacity with 60 gallons of oil. the first barrel is poured into a second barrel, also a right circular cylinder, which is empty. the second barrel is twice as tall as the first barrel and has twice the diameter of the first barrel. if all of the oil in the first barrel is poured into the second barrel, how much empty capacity, in gallons, is left in the second barrel?
subtract(multiply(60, power(const_2, const_3)), 60)
radius of first cylinder = r , diameter = 2 r , height = h radius of second cylinder = 2 r , diamter = 2 d and height = 2 h volume of first cylinder = pie ( r ^ 2 ) * h = 60 volume of second cylinder = pie ( 2 r ^ 2 ) 2 h put the value of pie ( r ^ 2 ) * h = 60 in the second cylinder , volume = pie ( r ^ 2 ) * 4 * 2 = 60 * 8 = 480 gallons empty capacity = 420 gallons answer d