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 /135/CH3/EX3.10/EX10.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 '135/CH3/EX3.10/EX10.sce')
-rwxr-xr-x | 135/CH3/EX3.10/EX10.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/135/CH3/EX3.10/EX10.sce b/135/CH3/EX3.10/EX10.sce new file mode 100755 index 000000000..479805441 --- /dev/null +++ b/135/CH3/EX3.10/EX10.sce @@ -0,0 +1,17 @@ +// Example 3.10: Minimum and maximum value of zener diode current
+clc, clear
+// From the Fig. 3.33
+Vsmin=120; // in volts
+Vsmax=170; // in volts
+Vz=50; // in volts
+Rs=5e3; // in ohms
+RLmin=5e3; // in ohms
+RLmax=10e3; // in ohms
+ILmin=Vz/RLmax; // in amperes
+ILmax=Vz/RLmin; // in amperes
+Izmin=((Vsmin-Vz)/Rs)-ILmax; // Minimum value of zener diode current in amperes
+Izmin=Izmin*1e3; // Minimum value of zener diode current in miliamperes
+Izmax=((Vsmax-Vz)/Rs)-ILmin; // Maximum value of zener diode current in amperes
+Izmax=Izmax*1e3; // Maximum value of zener diode current in miliamperes
+disp(Izmin,"Minimum value of zener diode current (mA) =");
+disp(Izmax,"Maximum value of zener diode current (mA) =");
\ No newline at end of file |