diff options
Diffstat (limited to '2360/CH2/EX2.11/ex2_11.sce')
-rwxr-xr-x | 2360/CH2/EX2.11/ex2_11.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/2360/CH2/EX2.11/ex2_11.sce b/2360/CH2/EX2.11/ex2_11.sce new file mode 100755 index 000000000..6f3c28451 --- /dev/null +++ b/2360/CH2/EX2.11/ex2_11.sce @@ -0,0 +1,10 @@ +// Exa 2.11
+format('v',5);clc;clear;close;
+// Given data
+At = 8.5;//true value in A
+Am = 8.3;//measured value in A
+Absoluteerror = At - Am;//absolute error in A
+disp(Absoluteerror,"The Absolute error in A is");
+// Relative percentage error
+Per_Error = ((At-Am)/At)*100;// %e in %
+disp(Per_Error,"The relative percentage error in % is");
|