summaryrefslogtreecommitdiff
path: root/165/CH3/EX3.4.a/ex3_4_a.sce
blob: 9c23fa791bb53a0748f68e3a356d04d387e8681b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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))