in a house a hall is 20 m long , 15 m wide and 5 m high . its interior has to be covered with mat . what will be the total expenditure if it costs rs . 10 per square m ?
length ( l ) = 20 m , breadth ( b ) = 15 m and height ( h ) = 5 m total area of the hall to be covered with mat = 2 ( lb + bh + hl ) = 2 ( 20 * 15 + 15 * 5 + 5 * 20 ) = 2 ( 300 + 75 + 100 ) = 2 * 475 = 950 sq . m total expenditure = 10 * 950 = rs . 9500 a
add(add(multiply(multiply(multiply(20, 15), const_2), 10), multiply(multiply(multiply(20, 5), const_2), 10)), multiply(multiply(multiply(15, 5), const_2), 10))