Find the quadratic equation from the given roots | Function to find the quadratic equation whose roots are a and b ; Driver Code
function findEquation ( a , b ) { var sum = ( a + b ) ; var product = ( a * b ) ; document . write ( " " + sum + " " + product + " " ) ; } var a = 2 , b = 3 ; findEquation ( a , b ) ;