summaryrefslogtreecommitdiff
path: root/3871/CH10/EX10.22
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH10/EX10.22
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3871/CH10/EX10.22')
-rw-r--r--3871/CH10/EX10.22/Ex10_22.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3871/CH10/EX10.22/Ex10_22.sce b/3871/CH10/EX10.22/Ex10_22.sce
new file mode 100644
index 000000000..2cc8cb3f5
--- /dev/null
+++ b/3871/CH10/EX10.22/Ex10_22.sce
@@ -0,0 +1,20 @@
+//===========================================================================
+//chapter 10 example 22
+clc;
+clear all;
+
+//variable declaration
+r = 250; //number of scale divisions galvanometer can read
+s = 2.5; //universal shunt multiplier
+r1 = 350; //number of scale reading
+s1 = 1000; //universal shunt multiplier when standard resistor is connecter
+S = 1000000;
+
+//calculations
+//IR praportional to galvanometer*universal shunt multiplier
+IR = r*s; //current through the circuit with unknown resistance Rconnected
+Is = r1*s1; //current through the circuit with standard resistance in S
+R1 = (Is/IR)*S; //insulation resistance of cable in Ω
+
+//result
+mprintf("insulation resistance of cable = %3.2f MΩ",(R1*10^-6));