diff options
Diffstat (limited to '1553/CH30/EX30.2/30Ex2.sce')
-rw-r--r-- | 1553/CH30/EX30.2/30Ex2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH30/EX30.2/30Ex2.sce b/1553/CH30/EX30.2/30Ex2.sce new file mode 100644 index 000000000..89057a137 --- /dev/null +++ b/1553/CH30/EX30.2/30Ex2.sce @@ -0,0 +1,9 @@ +//Chapter 30 Ex2
+clc;
+clear;
+close;
+ //(i)
+ n1=60; r1=3; n2=4; r2=4;
+ f1=factorial(n1)/factorial(n1-r1);
+ f2=factorial(n2)/factorial(n2-r2);
+ mprintf("(i) 60P3=%d\n (ii)4P4=%d",f1,f2);
|