From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1286/CH15/EX15.3/15_3.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 1286/CH15/EX15.3/15_3.sce (limited to '1286/CH15/EX15.3') diff --git a/1286/CH15/EX15.3/15_3.sce b/1286/CH15/EX15.3/15_3.sce new file mode 100755 index 000000000..9c7dbcba8 --- /dev/null +++ b/1286/CH15/EX15.3/15_3.sce @@ -0,0 +1,9 @@ +clc +//initialisation +n=12 +p=2 +//CALCULATIONS +t=n/p +a=factorial(n)/(factorial(t)*factorial(n-t)*p^n) +//results +printf(' \n probability= % 1f ',a) -- cgit