the sum of the squares of two consecutive positive integers exceeds their product by 91 . find the integers ?
let the two consecutive positive integers be x and x + 1 x 2 + ( x + 1 ) 2 - x ( x + 1 ) = 91 x 2 + x - 90 = 0 ( x + 10 ) ( x - 9 ) = 0 = > x = - 10 or 9 . as x is positive x = 9 hence the two consecutive positive integers are 9 and 10 . answer : a
divide(subtract(sqrt(add(multiply(subtract(91, const_1), const_4), const_1)), const_1), const_2)