diff options
Diffstat (limited to '2459/CH9/EX9.3/Ex9_3.sce')
-rw-r--r-- | 2459/CH9/EX9.3/Ex9_3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2459/CH9/EX9.3/Ex9_3.sce b/2459/CH9/EX9.3/Ex9_3.sce new file mode 100644 index 000000000..2a8cfcef5 --- /dev/null +++ b/2459/CH9/EX9.3/Ex9_3.sce @@ -0,0 +1,13 @@ +//chapter9
+//example9.3
+//page146
+
+R1=50 // ohm
+R2=5 // ohm
+V=10 // V
+
+Eo=V*R2/(R1+R2) // thevenin voltage
+Ro=R1*R2/(R1+R2) // thevenin resistance
+I_D=Eo/Ro // current through diode in ampere
+
+printf("current through diode = %.3f mA \n",I_D*1000)
|