summaryrefslogtreecommitdiff
path: root/Working_Examples/293/CH3/EX3.2/eg3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/293/CH3/EX3.2/eg3_2.sce')
-rwxr-xr-xWorking_Examples/293/CH3/EX3.2/eg3_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/Working_Examples/293/CH3/EX3.2/eg3_2.sce b/Working_Examples/293/CH3/EX3.2/eg3_2.sce
new file mode 100755
index 0000000..9a23d58
--- /dev/null
+++ b/Working_Examples/293/CH3/EX3.2/eg3_2.sce
@@ -0,0 +1,10 @@
+V = 100; // volatage supply in volts
+Rs = 40; //resistance in series in ohms
+// parallel resistances in ohms
+Rp1 = 33.33;
+Rp2 = 50;
+Rp3 = 20;
+Rpinv = (1/Rp1)+(1/Rp2)+(1/Rp3); //reciprocal of equivalent resistance in parallel
+Rp = 1/Rpinv; // equivalent esistance in parallel
+Vbc = V*(Rp/(Rs + Rp)); // potential difference across bc
+disp(Vbc,"potential difference across bc = ") \ No newline at end of file