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 /1628/CH4/EX4.3 | |
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 '1628/CH4/EX4.3')
-rwxr-xr-x | 1628/CH4/EX4.3/Ex4_3.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1628/CH4/EX4.3/Ex4_3.sce b/1628/CH4/EX4.3/Ex4_3.sce new file mode 100755 index 000000000..e616a9549 --- /dev/null +++ b/1628/CH4/EX4.3/Ex4_3.sce @@ -0,0 +1,27 @@ +
+
+ // Example 4.3
+
+ // From the diagram 4.5
+ // Using super position theorem
+ // 4-A current source is active
+
+i=4/{1+(2+3)}; // Current
+R=3; // Rsistance of 3 Ohms
+V4=i*R; // Voltage across 3 Ohms resistance in Case-1
+
+ // 5-A current source is active
+i5=5; // 5-A current source
+V5=(-i5)*{1/[1+(2+3)]*3}; // Voltage across 3 Ohms resistance in Case-2
+
+ // 6-V voltage source is active
+i6=6; // 6-A current source
+V6=i6*{3/[1+(2+3)]}; // Voltage across 3 Ohms resistance in Case-3
+
+V=V4+V5+V6; // Voltage across 3 Ohms resistance
+disp(' Voltage across 3 Ohms resistance is = '+string(V)+' Volt');
+
+
+
+
+ // p 106 4.3
\ No newline at end of file |