diff options
Diffstat (limited to '3871/CH3/EX3.1/Ex3_1.sce')
-rw-r--r-- | 3871/CH3/EX3.1/Ex3_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3871/CH3/EX3.1/Ex3_1.sce b/3871/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..eb2112613 --- /dev/null +++ b/3871/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,16 @@ +//===========================================================================
+//chapter 3 example 1
+
+clc;
+clear all;
+
+//variable declaration
+Am = 10.25; //measured value in Ω
+A = 10.22; //True value in Ω
+
+//calculations
+dA = Am-A; //absolute error in Ω
+
+//result
+mprintf("abslotue error = %3.2f Ω",dA);
+
|