summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.16/11Ex16.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.16/11Ex16.sce')
-rw-r--r--1553/CH11/EX11.16/11Ex16.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1553/CH11/EX11.16/11Ex16.sce b/1553/CH11/EX11.16/11Ex16.sce
new file mode 100644
index 000000000..1c3ea2493
--- /dev/null
+++ b/1553/CH11/EX11.16/11Ex16.sce
@@ -0,0 +1,15 @@
+//Chapter 9 Ex 16
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+inc=(8/100);
+SP1=x;
+CP=(9/10)*SP1;
+SP2=(1+inc)*SP1;
+gain=SP2-CP;
+gainper=(gain/CP)*100;
+mprintf("The gain percentage of Monika is");
+disp(gainper)
+mprintf("percent");