summaryrefslogtreecommitdiff
path: root/174/CH4/EX4.6/example4_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /174/CH4/EX4.6/example4_6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '174/CH4/EX4.6/example4_6.sce')
-rwxr-xr-x174/CH4/EX4.6/example4_6.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/174/CH4/EX4.6/example4_6.sce b/174/CH4/EX4.6/example4_6.sce
new file mode 100755
index 000000000..bef04e9c9
--- /dev/null
+++ b/174/CH4/EX4.6/example4_6.sce
@@ -0,0 +1,27 @@
+// To find the value of unknown resistor
+// Modern Electronic Instrumentation And Measurement Techniques
+// By Albert D. Helfrick, William D. Cooper
+// First Edition Second Impression, 2009
+// Dorling Kindersly Pvt. Ltd. India
+// Example 4-6 in Page 64
+
+
+clear; clc; close;
+
+// Given data
+S = 100; //Sensitivity of the voltmeter
+// Three ranges of the voltmeter
+V_1 = 50;
+V_2 = 150;
+V_3 = 300;
+V_p = 4.65; //Reading of the meter on its 50-V scale
+R_s = 100*10^3;
+E = 100; //emf applied in volt
+//Calculations
+R_V = S * V_1;
+R_p = ceil(V_p *R_s/ (E -V_p)); //R_p is the parallel resistance of R_x and R_v
+R_x = R_p *R_V/ (R_V -R_p);
+printf("The value of the unknown resistance R_x = %0.1e ohm",ceil(R_x));
+
+//Result
+// The value of the unknown resistance R_x = 2.0e+005 ohm \ No newline at end of file