summaryrefslogtreecommitdiff
path: root/3775/CH2/EX2.8/Ex2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3775/CH2/EX2.8/Ex2_8.sce')
-rw-r--r--3775/CH2/EX2.8/Ex2_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3775/CH2/EX2.8/Ex2_8.sce b/3775/CH2/EX2.8/Ex2_8.sce
new file mode 100644
index 000000000..e8f53b605
--- /dev/null
+++ b/3775/CH2/EX2.8/Ex2_8.sce
@@ -0,0 +1,19 @@
+//Ex 2.8 page 72
+
+clc;
+clear;
+close;
+
+IS1=100;// A
+IS2=150;// A
+vd1=2.1;// V
+vd2=1.75;// V
+I=250;// A
+
+rf1=vd1/IS1;// ohm
+rf2=vd2/IS2;// ohm
+// Equating voltage drops
+// vd1+IS1*re = vd2+IS2*re
+re=(vd1-vd2)/(IS2-IS1)
+printf(' Series resistance = %.3f ohm',re)
+