diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH9/EX9.3/Ex9_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3507/CH9/EX9.3/Ex9_3.sce')
-rw-r--r-- | 3507/CH9/EX9.3/Ex9_3.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3507/CH9/EX9.3/Ex9_3.sce b/3507/CH9/EX9.3/Ex9_3.sce new file mode 100644 index 000000000..2a8cfcef5 --- /dev/null +++ b/3507/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)
|