summaryrefslogtreecommitdiff
path: root/165/CH3/EX3.4.b/ex3_4_b.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /165/CH3/EX3.4.b/ex3_4_b.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '165/CH3/EX3.4.b/ex3_4_b.sce')
-rw-r--r--165/CH3/EX3.4.b/ex3_4_b.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/165/CH3/EX3.4.b/ex3_4_b.sce b/165/CH3/EX3.4.b/ex3_4_b.sce
new file mode 100644
index 000000000..78215cfd8
--- /dev/null
+++ b/165/CH3/EX3.4.b/ex3_4_b.sce
@@ -0,0 +1,26 @@
+//Example 3.4(b)
+clc;
+Rm=1000; //Internal resistance
+Im=100*10^-6; //Full Scale deflection current
+
+//Case I: For Range 0-10 mA
+I10=10*10^-3;
+n=I10/Im;
+Rsh1=Rm/(n-1);
+
+//Case II: For Range 0-100 mA
+I100=100*10^-3;
+Rsh2=Im*(Rm+Rsh1)/I100;
+
+//Case III: For Range 0-1A
+I1A=1;
+Rsh3=Im*(Rm+Rsh1)/I1A;
+
+//Now From Circuit Observation
+Rc=Rsh3;
+Rb=Rsh2-Rsh3;
+Ra=Rsh1-Rsh2;
+
+printf('\nValue of shunt Ra = %.3f ohm\n',Ra)
+printf('\nValue of shunt Rb = %.3f ohm\n',Rb)
+printf('\nValue of shunt Rc = %.3f ohm\n',Rc) \ No newline at end of file