summaryrefslogtreecommitdiff
path: root/1628/CH3/EX3.22/Ex3_22.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1628/CH3/EX3.22/Ex3_22.sce
downloadScilab-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/CH3/EX3.22/Ex3_22.sce')
-rwxr-xr-x1628/CH3/EX3.22/Ex3_22.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1628/CH3/EX3.22/Ex3_22.sce b/1628/CH3/EX3.22/Ex3_22.sce
new file mode 100755
index 000000000..d2c4e7c70
--- /dev/null
+++ b/1628/CH3/EX3.22/Ex3_22.sce
@@ -0,0 +1,19 @@
+
+ // Examle 3.22
+
+ // From the diagram (3.40b) Apply KCL to node a
+ // will get { (va-0)/2+ (va-vb)/3 = 5 }............(1
+ // Similarly apply KCL at node b
+ // will get { (vb-va)/3+ vb-0)/4 = -6 }............(2
+
+ // After solving these 2 equation will have
+
+Va=2.44; // Voltage at node a
+Vb=-8.89; // Voltage at node b
+Vab=Va-Vb; // Voltage across 3 ohm resistor
+disp(' Voltage across 3 ohm resistor = '+string(Vab)+' Volt');
+
+
+
+
+ // p 80 3.22