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 /181/CH2/EX2.31 | |
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 '181/CH2/EX2.31')
-rwxr-xr-x | 181/CH2/EX2.31/example2_31.sce | 26 | ||||
-rwxr-xr-x | 181/CH2/EX2.31/example2_31.txt | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/181/CH2/EX2.31/example2_31.sce b/181/CH2/EX2.31/example2_31.sce new file mode 100755 index 000000000..21909f6bb --- /dev/null +++ b/181/CH2/EX2.31/example2_31.sce @@ -0,0 +1,26 @@ +// Maximum and minimum Zener currents
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 2-31 in page 110
+
+clear; clc; close;
+
+// Given data
+V_z=10; // Zener voltage in V
+R_s=1*10^3; // Shunt resistance in K-ohm
+R_l=10*10^3; // Load resistance in K-ohm
+Vi_max=40; // Maximum input voltage in V
+Vi_min=25; // Minimum input voltage in V
+
+// Calculation
+I_zmax=((Vi_max-V_z)/1000)-(5*10^-3);
+I_zmin=((Vi_min-V_z)/R_s)-(5*10^-3);
+
+printf("Maximum value of zener current = %0.2e A\n",I_zmax);
+printf("Minimum value of zener current = %0.2e A",I_zmin);
+
+// Result
+// Maximum zener current = 25 mA
+// Minimum zener current = 10 mA
\ No newline at end of file diff --git a/181/CH2/EX2.31/example2_31.txt b/181/CH2/EX2.31/example2_31.txt new file mode 100755 index 000000000..9612d7cb2 --- /dev/null +++ b/181/CH2/EX2.31/example2_31.txt @@ -0,0 +1,2 @@ + Maximum value of zener current = 2.50e-002 A
+Minimum value of zener current = 1.00e-002 A
\ No newline at end of file |