summaryrefslogtreecommitdiff
path: root/165/CH3/EX3.4.a/ex3_4_a.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.a/ex3_4_a.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.a/ex3_4_a.sce')
-rw-r--r--165/CH3/EX3.4.a/ex3_4_a.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/165/CH3/EX3.4.a/ex3_4_a.sce b/165/CH3/EX3.4.a/ex3_4_a.sce
new file mode 100644
index 000000000..9c23fa791
--- /dev/null
+++ b/165/CH3/EX3.4.a/ex3_4_a.sce
@@ -0,0 +1,19 @@
+//Example 3.4(a)
+clc;
+Rm=100; //Internal resistance
+Im=50*10^-6; //Full Scale deflection current
+a=[1,1,1,1; 195, 195, 195, -1; 995, 995, -1, -1; 1995, -1, -1, -1];
+b=[5.26; 100; 100; 100];
+X=a\b;
+
+//Case I: For Range 0-1 mA
+printf('\nAryton Shunt for range 0-1 mA = %.4f ohm\n',X(1,1))
+
+//Case I: For Range 0-10 mA
+printf('\nAryton Shunt for range 0-10 mA = %.4f ohm\n',X(2,1))
+
+//Case I: For Range 0-50 mA
+printf('\nAryton Shunt for range 0-50 mA = %.4f ohm\n',X(3,1))
+
+//Case I: For Range 0-100 mA
+printf('\nAryton Shunt for range 0-100 mA = %.4f ohm\n',X(4,1)) \ No newline at end of file