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.20/Ex9_20.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.20/Ex9_20.sce')
-rw-r--r-- | 3507/CH9/EX9.20/Ex9_20.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3507/CH9/EX9.20/Ex9_20.sce b/3507/CH9/EX9.20/Ex9_20.sce new file mode 100644 index 000000000..19c9f7120 --- /dev/null +++ b/3507/CH9/EX9.20/Ex9_20.sce @@ -0,0 +1,21 @@ +//chapter9
+//example9.20
+//page170
+
+R=5 // kilo ohm
+Rl=10 // kilo ohm
+Ei=120 // V
+Vz=50 // V
+
+V=Ei*Rl/(R+Rl) // voltage across open circuit if zener diode is removed
+Vo=Vz // output voltage
+V_R=Ei-Vz // drop across R
+Il=Vz/Rl // load current
+I=V_R/R // current through R
+
+// by Kirchoff first law I=Iz+Il
+Iz=I-Il
+
+printf("output voltage = %.3f V \n",Vo)
+printf("voltage drop across series resistance = %.3f V \n",V_R)
+printf("current through Zener diode = %.3f mA \n",Iz)
|