the speed of a car increases by 2 kms after every one hour . if the distance travelling in the first one hour was 40 kms . what was the total distance traveled in 12 hours ?
"explanation : total distance travelled in 12 hours = ( 40 + 42 + 44 + . . . . . upto 12 terms ) this is an a . p with first term , a = 40 , number of terms , n = 12 , d = 2 . required distance = 12 / 2 [ 2 x 40 + { 12 - 1 ) x 2 ] = 6 ( 102 ) = 612 kms . answer : c"
multiply(add(multiply(2, 40), multiply(subtract(12, const_1), 2)), divide(12, 2))