Help for this page

Select Code to Download


  1. or download this
    (defun f (a b c)
        (let ((t (sqrt (- (* b b) (* 4 a c))))
          (values (/ (+ (- b) t)) (* 2 a)))
                  (/ (- (- b) t)  (* 2 a))))
    
  2. or download this
    sub f { 
        my( $a, $b, $c ) = @_; 
    ...
            ( -$b + $t ) / 2*$a 
        );
    }