Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    use strict ;
    ...
      my $random_number = int(rand($range)) - $max/2;
      print "$random_number \n";
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict ;
    
    ...
    #abs($point)<=1 ? $unif = .5 : $unif = 0 ;
       print "$point $tria $epan $unif\n" ;
    }