Help for this page

Select Code to Download


  1. or download this
    sub diag {
    my $x = shift @_;
    ...
    my $result = sqrt($prod);
    return $result;
    }
    
  2. or download this
    sub diag {
    return sqrt( $_[0] * $_[0] + $_[1] * $_[1]);
    }