summaryrefslogtreecommitdiff
path: root/866/CH16/EX16.4/16_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '866/CH16/EX16.4/16_4.sce')
-rwxr-xr-x866/CH16/EX16.4/16_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/866/CH16/EX16.4/16_4.sce b/866/CH16/EX16.4/16_4.sce
new file mode 100755
index 000000000..cd223bb08
--- /dev/null
+++ b/866/CH16/EX16.4/16_4.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+M= 19
+N= 13
+r= 0
+n= 6
+no= 13
+c= 24
+//CALCULATIONS
+ns= n*(M-N+1)-r
+nk= n*no-c
+//RESULTS
+printf ('Ns= %.f ',ns)
+printf (' \n Nk= %.f ',nk)