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 /1370/CH1/EX1.32/chapter1_32.sce | |
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 '1370/CH1/EX1.32/chapter1_32.sce')
-rwxr-xr-x | 1370/CH1/EX1.32/chapter1_32.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1370/CH1/EX1.32/chapter1_32.sce b/1370/CH1/EX1.32/chapter1_32.sce new file mode 100755 index 000000000..3318648f6 --- /dev/null +++ b/1370/CH1/EX1.32/chapter1_32.sce @@ -0,0 +1,20 @@ +//example1.32
+clc
+disp("Use the loop analysis")
+disp("From the current source branch,")
+disp("I3=1 A")
+disp("Applying KVL to the loops without current source we get,")
+disp("-6(I1)-4-5(I1)+5(I2)=0 i.e. -11(I1)+5(I2)=4 ..(1)")
+disp("-5(I2)+5(I1)-6-4(I2)-4(I3)=0 i.e. 5(I1)-9(I2)=10 (2)")
+disp("Solving, we get:")
+disp("-11(I1)+5((5I1-10)/9)=4")
+disp("Therefore, -99(I1)+25(I1)-50=36")
+i=86/(-74)
+format(7)
+disp(i,"Therefore, I1(in A)=")
+i=((5*(-1.1621))-10)/9
+disp(i,"and, I2(in A)=")
+disp("Current through 5ohm in specified direction is,")
+i=(-1.7567+1.1621)
+disp(i,"I(5ohm)[in A]=I2-I1= -1.7567-(-1.1621)=")
+disp("As negative, current through 5ohm flows in opposite direction to that specified in the circuit.")
|