summaryrefslogtreecommitdiff
path: root/3871/CH3/EX3.5/Ex3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH3/EX3.5/Ex3_5.sce')
-rw-r--r--3871/CH3/EX3.5/Ex3_5.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3871/CH3/EX3.5/Ex3_5.sce b/3871/CH3/EX3.5/Ex3_5.sce
new file mode 100644
index 000000000..13bbea96e
--- /dev/null
+++ b/3871/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,21 @@
+//===========================================================================
+//chapter 3 example 5
+clc;
+clear all;
+
+//variable declaration
+er = 1.5*10^-2; //accuracy
+A1 = 10; //current in A
+A2 = 2.5; //current in A
+
+//calculations
+dA = er*A1; //magnitude of limiting error of the instrument
+er1 = dA/(A2); //magnitude of current
+A11 = A2*(1+er1); //current in A
+A12 = A2*(1-er1); //current in A
+er2 = (dA/(A2))*100; //limiting error in %
+
+//result
+mprintf("limiting values of current =%3.2f A and %3.2f",A11,A12);
+mprintf("\nlimiting error = %3.1f percentage',er2);
+