summaryrefslogtreecommitdiff
path: root/1553/CH11/EX11.14/11Ex14.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH11/EX11.14/11Ex14.sce')
-rw-r--r--1553/CH11/EX11.14/11Ex14.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH11/EX11.14/11Ex14.sce b/1553/CH11/EX11.14/11Ex14.sce
new file mode 100644
index 000000000..098aeb927
--- /dev/null
+++ b/1553/CH11/EX11.14/11Ex14.sce
@@ -0,0 +1,9 @@
+//Ex 12
+
+clc;
+clear;
+close;
+Error=40;
+true_value=1000;
+gainPercent=(Error/(true_value-Error))*100;
+printf("The gain is %3.2f percent",gainPercent);