summaryrefslogtreecommitdiff
path: root/3871/CH11/EX11.3
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH11/EX11.3
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/CH11/EX11.3')
-rw-r--r--3871/CH11/EX11.3/Ex11_3.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/3871/CH11/EX11.3/Ex11_3.sce b/3871/CH11/EX11.3/Ex11_3.sce
new file mode 100644
index 000000000..9ea913838
--- /dev/null
+++ b/3871/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,29 @@
+//===========================================================================
+//chapter 11 example 3
+clc;
+clear all;
+
+//variable declaration
+R = 400; //total resistance of slide-wire of 200 cmin Ω
+L1 = 101.8; //length of slide wire in cm
+L = 200; //length of wire in cm
+v1 = 1.018; //voltage drop across 101.8cm length of slide wire in V
+v = 3; //battery voltage in V
+a = 0.2; //it is possible to read a of 1 mm
+
+//calculations
+R1 = (R/L)*L1; //resistance of slide wire of 101.8 cm in Ω
+I1 = v1/R1; //working current in A
+RT = v/I1; //total resistance of battery circuit in Ω
+RR = RT-R; //resistance of series rheostat in Ω
+r = I1*R; //measuring range in V
+//since 200cm length represents 2 V
+//1 mm length represents = z
+z = (r/L)*(1/10); //voltage represented for 1mm length
+Ri = z*a; //resolution of instrument in mV
+
+//result
+mprintf("working current = %3.1e A",(I1*10^3));
+mprintf("\nresistance of series rheostat = %3.2f Ω",RR);
+mprintf("\nmeasuring range = %3.2f V",r);
+mprintf("\nresolution of the instrument = %3.2f mV",(Ri*10^3));