summaryrefslogtreecommitdiff
path: root/2360/CH2/EX2.24/ex2_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '2360/CH2/EX2.24/ex2_24.sce')
-rwxr-xr-x2360/CH2/EX2.24/ex2_24.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2360/CH2/EX2.24/ex2_24.sce b/2360/CH2/EX2.24/ex2_24.sce
new file mode 100755
index 000000000..d4b1dc6c2
--- /dev/null
+++ b/2360/CH2/EX2.24/ex2_24.sce
@@ -0,0 +1,8 @@
+// Exa 2.24
+format('v',7);clc;clear;close;
+// Given data
+At = 6.54;//true value in A
+Am = 6.7;//measured value in A
+AbsError = At-Am;// absolute error
+PerError= ((At-Am)/At)*100;// percentage error
+disp(PerError,"The error in % is");