Quadratic equation whose roots are K times the roots of given equation | Function to find the quadratic equation whose roots are K times the roots of the given equation ; Print quadratic equation ; Driver Code
function findEquation ( A , B , C , K ) { document . write ( A + " " + K * B + " " + K * K * C ) ; } var A = 1 , B = 2 , C = 1 , K = 2 ; findEquation ( A , B , C , K ) ;