diff options
Diffstat (limited to '1553/CH10/EX10.17/10Ex17.sce')
-rw-r--r-- | 1553/CH10/EX10.17/10Ex17.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH10/EX10.17/10Ex17.sce b/1553/CH10/EX10.17/10Ex17.sce new file mode 100644 index 000000000..3b0974ebe --- /dev/null +++ b/1553/CH10/EX10.17/10Ex17.sce @@ -0,0 +1,8 @@ +//chapter 10 Ex 17
+
+clc;
+clear;
+close;
+died=10/100; left=25/100; popRemain=4050;
+popOriginal= popRemain/((1-died)*(1-left));
+mprintf("Original population was %d",popOriginal);
|