summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.6/24Ex6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH24/EX24.6/24Ex6.sce')
-rw-r--r--1553/CH24/EX24.6/24Ex6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH24/EX24.6/24Ex6.sce b/1553/CH24/EX24.6/24Ex6.sce
new file mode 100644
index 000000000..cbb813b34
--- /dev/null
+++ b/1553/CH24/EX24.6/24Ex6.sce
@@ -0,0 +1,9 @@
+//chapter 24 Ex 6
+
+clc;
+clear;
+close;
+excess=5/100; deficit=4/100;
+Error=((1+excess)*(1-deficit))-1;
+ErrorPercent=Error*100;
+mprintf("The percentage error is %.1f percent",ErrorPercent);