find the volume , curved surface area and the total surface area of a cylinder with diameter of base 7 cm and height 40 cm .
volume = ∏ r 2 h = ( ( 22 / 7 ) x ( 7 / 2 ) x ( 7 / 2 ) x 40 ) = 1540 cm ^ 3 . . curved surface area = 2 ∏ rh = ( 2 x ( 22 / 7 ) x ( 7 / 2 ) x 40 ) = 880 cm ^ 2 . total surface area = 2 ∏ rh + 2 ∏ r 2 = 2 ∏ r ( h + r ) = ( 2 x ( 22 / 7 ) x ( 7 / 2 ) x ( 40 + 3.5 ) ) cm 2 = 957 cm ^ 2 answer is b
add(multiply(multiply(power(divide(7, const_2), const_2), const_pi), const_2), multiply(multiply(7, const_pi), 40))