a polygon has 44 diagonals , then the number of its sides are
let the number of sides be n . the number of diagonals is given by nc 2 - n therefore , nc 2 - n = 44 , n > 0 n ( n - 1 ) / 2 - n = 44 n 2 - 3 n - 88 = 0 n 2 - 11 n + 8 n - 88 = 0 n ( n - 11 ) + 8 ( n - 11 ) = 0 n = - 8 or n = 11 . answer : a
divide(add(sqrt(add(power(const_3, const_2), multiply(multiply(44, const_2), const_4))), const_3), const_2)