summaryrefslogtreecommitdiff
path: root/147/CH2/EX2.16/Example2_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '147/CH2/EX2.16/Example2_16.sce')
-rw-r--r--147/CH2/EX2.16/Example2_16.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/147/CH2/EX2.16/Example2_16.sce b/147/CH2/EX2.16/Example2_16.sce
new file mode 100644
index 000000000..6735ece6e
--- /dev/null
+++ b/147/CH2/EX2.16/Example2_16.sce
@@ -0,0 +1,16 @@
+//Resistance R, Voltage V
+close();
+clear;
+clc;
+R1 = 10;//ohm
+R2 = 5;
+R3 = 30;
+R4 = 5;
+V = 90;//V
+Ra = R4 + (R1+R2)*(R3)/(R1+R2+R3);
+I1 = V/Ra;
+Ia = R3/(R1+R2+R3)*I1;
+Rb = R1+R2+(R3*R4)/(R3+R4);
+I2 = V/Rb;
+Ib = R3/(R3+R4)*I2;
+mprintf('Ammeter reading for network 1 = %0.0f A\nAmmeter reading for network 2 = %0.0f A \nThe equality of the ammeter readings constitutes a special case of the reciprocity theorem.',Ia,Ib); \ No newline at end of file