diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1523/CH3/EX3.27 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1523/CH3/EX3.27')
-rwxr-xr-x | 1523/CH3/EX3.27/3_27.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/1523/CH3/EX3.27/3_27.sce b/1523/CH3/EX3.27/3_27.sce new file mode 100755 index 000000000..3f6b9e68d --- /dev/null +++ b/1523/CH3/EX3.27/3_27.sce @@ -0,0 +1,30 @@ +//Network Theorem 1
+//page no-3.32
+//example3.27
+//calculation of Isc (short-circuit current)
+disp("Applying KVL to mesh 1:");
+disp("20*I1-20*I2=10");....//equation 1
+disp("Applying KVL to mesh 2:");
+disp("-20*I1+60*I2-20*I3=40");....//equation 2
+disp("Applying KVL to mesh 3:");
+disp("-20*I2+50*I3=-100");....//equation 3
+disp("solving these equations we get :");...//solving equations in matrix form
+A=[20 -20 0;-20 60 -20;0 -20 50];
+B=[10 40 -100]'
+X=inv(A)*B;
+disp(X);
+disp("I1 = 0.81A");
+a=0.81;
+printf("\nIsc = -%.2f A",a);
+//calculation of Rn (norton's resistance)
+disp("replacing the voltage source with short circuit ");
+c=20;
+b=30;
+x=(c*b)/(c+b);
+y=x+c;
+z=(y*c)/(y+c);
+printf("\nRn = %.1f Ohm",z);
+//calculation of IL (load current)
+n=10;
+i=a*(z/(z+n));
+printf("\nIL = %.2f A",i);
\ No newline at end of file |