From 7bc77cb1ed33745c720952c92b3b2747c5cbf2df Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Sat, 3 Feb 2018 11:01:52 +0530 Subject: Added new code --- 3871/CH10/EX10.22/Ex10_22.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 3871/CH10/EX10.22/Ex10_22.sce (limited to '3871/CH10/EX10.22') 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)); -- cgit