diff options
author | Patrick Simianer <p@simianer.de> | 2017-07-04 21:06:30 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-07-04 21:06:30 +0200 |
commit | 266d81d50413863ab80cc3328b2548d36c3a1298 (patch) | |
tree | 50f507b7228f2cd1bc5bcecabb99581db453147f /ruby | |
parent | 2934a9a9119b00f50b9c88b80d2fbc35975fde97 (diff) |
better binom call
Diffstat (limited to 'ruby')
-rwxr-xr-x | ruby/binom.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ruby/binom.sh b/ruby/binom.sh index fcb73e4..da84f03 100755 --- a/ruby/binom.sh +++ b/ruby/binom.sh @@ -1,4 +1,6 @@ #!/bin/zsh -for i in {0..10}; do ./binom.rb $i 0.1 10; done +for i in {0..10}; do + echo "k=$i p=0.1 n=10 : $(./binom.rb $i 0.1 10)" +done |