summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.a.16/Example_a_1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH1/EX1.a.16/Example_a_1_16.sce')
-rw-r--r--3673/CH1/EX1.a.16/Example_a_1_16.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3673/CH1/EX1.a.16/Example_a_1_16.sce b/3673/CH1/EX1.a.16/Example_a_1_16.sce
new file mode 100644
index 000000000..ac51dd351
--- /dev/null
+++ b/3673/CH1/EX1.a.16/Example_a_1_16.sce
@@ -0,0 +1,25 @@
+//Example 1_16 page no:33
+clc;
+R1=5
+R2=6
+R3=3
+R4=3
+R5=10
+R6=6
+R7=2
+R8=4
+V=100;
+R9=1/((1/(R7+R8))+(1/R6));//calculating the resistances
+R10=1/((1/(R3+R4))+(1/R2));
+Rt=1/((1/13)+(1/8));
+It=V/Rt;
+I8=20.2*(13/(13+8));
+I13=20.2*(8/(13+8));
+I5=I8;
+I10=I13;
+I4=3.845;
+I3=6.25;
+Va=I3*3;
+Vb=I4*4;
+Vab=Va-Vb;//voltage calculation
+disp(Vab,"the voltage Vab is (in V)");