summaryrefslogtreecommitdiff
path: root/3830/CH1/EX1.6
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3830/CH1/EX1.6
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3830/CH1/EX1.6')
-rw-r--r--3830/CH1/EX1.6/Ex1_6.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/3830/CH1/EX1.6/Ex1_6.sce b/3830/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..d18700c55
--- /dev/null
+++ b/3830/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,27 @@
+// Exa 1.6
+
+clc;
+clear;
+
+// Given
+
+Imax = 100*10^-6; // Initial range of Ammeter in Amp
+Rm = 800; // Meter resistance in Ohms
+I1max = 0.1; // Range to be extended in Amp
+I2max = 10; // Range to be extended in Amp
+
+// Solution
+
+printf(' Referring Figs. 1.21 and 1.22 :- \n');
+
+n = I1max/Imax;
+Rsh = Rm/(n-1);
+printf(' Ra + Rb + Rc = Rsh; \n ');
+printf(' The value of Rsh by calculations = %.4f Ohms \n',Rsh);
+printf(' Referring calculations done in textbook,\n we can get values of Ra,Rb and Rc as follows :- \n');
+Rc = Imax*(Rsh+Rm)/I2max;
+Rb = (Imax/I1max)*(Rsh+Rm) - Rc;
+Ra = Rsh-(Rb+Rc);
+printf(' Ra = %.3f Ohms, Rb = %.3f Ohms and Rc = %.3f Ohms \n',Ra,Rb,Rc);
+
+//The answer provided in the textbook is wrong for Rc and not at all given for Ra and Rb