summaryrefslogtreecommitdiff
path: root/3871/CH1/EX1.3/Ex1_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH1/EX1.3/Ex1_3.sce')
-rw-r--r--3871/CH1/EX1.3/Ex1_3.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3871/CH1/EX1.3/Ex1_3.sce b/3871/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..3a49536c8
--- /dev/null
+++ b/3871/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,20 @@
+//===========================================================================
+//chapter 1 example 3
+
+clc;
+clear all;
+
+//variable declaration
+n = 100; //highest mutiplier switch in mA
+N = 100; //number of divisions
+
+
+//calculations
+R = (N*10^-3)*n; //Range of instrument in A
+S = 0-n; //scale range
+
+//result
+mprintf("Range of instrument = %3.2f A",R);
+mprintf("\nScale Range = 0%3.2f",S);
+
+//=============================================================================