summaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-07-04 21:06:30 +0200
committerPatrick Simianer <p@simianer.de>2017-07-04 21:06:30 +0200
commit266d81d50413863ab80cc3328b2548d36c3a1298 (patch)
tree50f507b7228f2cd1bc5bcecabb99581db453147f /ruby
parent2934a9a9119b00f50b9c88b80d2fbc35975fde97 (diff)
better binom call
Diffstat (limited to 'ruby')
-rwxr-xr-xruby/binom.sh4
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