summaryrefslogtreecommitdiff
path: root/1553/CH4/EX4.31/4Ex31.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH4/EX4.31/4Ex31.sce')
-rw-r--r--1553/CH4/EX4.31/4Ex31.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH4/EX4.31/4Ex31.sce b/1553/CH4/EX4.31/4Ex31.sce
new file mode 100644
index 000000000..8f5ac4fb1
--- /dev/null
+++ b/1553/CH4/EX4.31/4Ex31.sce
@@ -0,0 +1,9 @@
+//chapter 4 Ex 31
+
+clc;
+clear;
+close;
+popX=68000; popY=42000;
+rateX=1200; rateY=800;
+years=(popX-popY)/(rateX+rateY);
+mprintf("The population will be equal after %d years",years);