From 266d81d50413863ab80cc3328b2548d36c3a1298 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Tue, 4 Jul 2017 21:06:30 +0200 Subject: better binom call --- ruby/binom.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3