summaryrefslogtreecommitdiff
path: root/1553/CH6/EX6.13
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH6/EX6.13')
-rw-r--r--1553/CH6/EX6.13/6Ex13.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH6/EX6.13/6Ex13.sce b/1553/CH6/EX6.13/6Ex13.sce
new file mode 100644
index 000000000..69f563f7b
--- /dev/null
+++ b/1553/CH6/EX6.13/6Ex13.sce
@@ -0,0 +1,9 @@
+//chapter 6 Ex 13
+
+clc;
+clear;
+close;
+n=35; newN=7; incExp=42; perheadExp=1;
+originalAvg=(incExp+incExp*perheadExp)/(incExp-n);
+originalExp=originalAvg*n;
+mprintf("The original expenditure is Rs.%d",originalExp);