summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.49/Ex5_49.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH5/EX5.49/Ex5_49.sce')
-rw-r--r--3769/CH5/EX5.49/Ex5_49.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/3769/CH5/EX5.49/Ex5_49.sce b/3769/CH5/EX5.49/Ex5_49.sce
new file mode 100644
index 000000000..2d46542b8
--- /dev/null
+++ b/3769/CH5/EX5.49/Ex5_49.sce
@@ -0,0 +1,25 @@
+clear
+//Given
+R1=4 //ohm
+R2=4 //ohm
+R3=12
+R4=6.0
+E=16
+r=1 //ohm
+
+//calculation
+Rab=R1*R2/(R1+R2)
+Rcd=R3*R4/(R3+R4)
+R=Rab+Rcd+1
+I=E/(R+r)
+I1=I/2.0
+I3=I*R4/(R3+R4)
+I4=I*R3/(R3+R4)
+Vab=4*I1
+Vbc=I*1
+Vcd=12*I3
+
+//Result
+printf("\n (i) equivalent resistance of the network is %0.3f ohm", R)
+printf("\n (ii) Circuit current is %0.3f A , Current in R1 is %0.3f A , Current in R3 is %0.2f A , Current in R4 is %0.2f ",I,I1,I3,I4)
+printf("\n Voltage drop Vab is %0.3f V \nVbc is %0.3f V \nVcd is %0.3f V",Vab,Vbc,Vcd)