summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.1/11Ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.1/11Ex1.sce')
-rw-r--r--1553/CH11/EX11.1/11Ex1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH11/EX11.1/11Ex1.sce b/1553/CH11/EX11.1/11Ex1.sce
new file mode 100644
index 000000000..7a1bb1097
--- /dev/null
+++ b/1553/CH11/EX11.1/11Ex1.sce
@@ -0,0 +1,10 @@
+//Ex 1
+
+clc;
+clear;
+close;
+cp=27.50;
+sp=28.60;
+gain=sp-cp;
+gainPercent=(gain/cp)*100;
+printf("The gain is %d percent",gainPercent);