summaryrefslogtreecommitdiff
path: root/1286/CH15/EX15.1/15_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH15/EX15.1/15_1.sce')
-rwxr-xr-x1286/CH15/EX15.1/15_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1286/CH15/EX15.1/15_1.sce b/1286/CH15/EX15.1/15_1.sce
new file mode 100755
index 000000000..16ecac39a
--- /dev/null
+++ b/1286/CH15/EX15.1/15_1.sce
@@ -0,0 +1,9 @@
+clc
+//initialisations
+c=8
+h=3
+t=5
+//CALCULATIONS
+a=factorial(8)/(factorial(3)*factorial(5)*2^8)
+//results
+printf(' \n probability of 3 heads and 5 tails= % 1f ',a)