summaryrefslogtreecommitdiff
path: root/317/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /317/CH5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '317/CH5')
-rwxr-xr-x317/CH5/EX5.1/example1.sce25
-rwxr-xr-x317/CH5/EX5.1/example1.txt2
-rwxr-xr-x317/CH5/EX5.10/example10.sce20
-rwxr-xr-x317/CH5/EX5.10/example10.txt1
-rwxr-xr-x317/CH5/EX5.11/example11.sce20
-rwxr-xr-x317/CH5/EX5.11/example11.txt1
-rwxr-xr-x317/CH5/EX5.12/example12.sce20
-rwxr-xr-x317/CH5/EX5.12/example12.txt1
-rwxr-xr-x317/CH5/EX5.13/example13.sce21
-rwxr-xr-x317/CH5/EX5.13/example13.txt1
-rwxr-xr-x317/CH5/EX5.14/example14.sce24
-rwxr-xr-x317/CH5/EX5.14/example14.txt2
-rwxr-xr-x317/CH5/EX5.15/example15.sce23
-rwxr-xr-x317/CH5/EX5.15/example15.txt1
-rwxr-xr-x317/CH5/EX5.2/example2.sce22
-rwxr-xr-x317/CH5/EX5.2/example2.txt1
-rwxr-xr-x317/CH5/EX5.3/example3.sce24
-rwxr-xr-x317/CH5/EX5.3/example3.txt1
-rwxr-xr-x317/CH5/EX5.7/example7.sce21
-rwxr-xr-x317/CH5/EX5.7/example7.txt1
-rwxr-xr-x317/CH5/EX5.8/example8.sce21
-rwxr-xr-x317/CH5/EX5.8/example8.txt1
22 files changed, 254 insertions, 0 deletions
diff --git a/317/CH5/EX5.1/example1.sce b/317/CH5/EX5.1/example1.sce
new file mode 100755
index 000000000..f851ab770
--- /dev/null
+++ b/317/CH5/EX5.1/example1.sce
@@ -0,0 +1,25 @@
+// find minimum and maximum zener currents
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 1-1, page 9
+
+clear;clc; close;
+
+// Given data
+R=820;// resistance in ohms
+V=10;// breakdown voltage of diode
+Vinmin=20;// minimum input voltage in volts
+Vinmax=40;// maximum input voltage in volts
+
+// Calculations
+// voltage across resistor=input voltage-breakdown voltage
+Ismin=(Vinmin-V)/R;// minimum zener current in amperes
+Ismax=(Vinmax-V)/R;// maximum zener current in amperes
+disp("Amperes",Ismin,"Minimum zener current =")
+disp("Amperes",Ismax,"Maximum zener current =")
+
+// results
+// minimum zener current is 12.2 mAmperes
+// maximum zener current is 36.6 mAmperes
diff --git a/317/CH5/EX5.1/example1.txt b/317/CH5/EX5.1/example1.txt
new file mode 100755
index 000000000..74ae2999a
--- /dev/null
+++ b/317/CH5/EX5.1/example1.txt
@@ -0,0 +1,2 @@
+minimum zener current is 12.2 mAmperes
+maximum zener current is 36.6 mAmperes
diff --git a/317/CH5/EX5.10/example10.sce b/317/CH5/EX5.10/example10.sce
new file mode 100755
index 000000000..440f4d5e5
--- /dev/null
+++ b/317/CH5/EX5.10/example10.sce
@@ -0,0 +1,20 @@
+// find maximum allowable series resistance
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-10, page 157
+
+clear;clc; close;
+
+// Given data
+Rlmin=140;// minimum load resistance in ohms
+Vsmin=22;// minimum input voltage in volts
+Vz=12;// zener voltage in volts
+
+// Calculations
+Rsmax=((Vsmin/Vz)-1)*Rlmin;// maximum series resistance in ohms
+disp("ohms",Rsmax,"Series resistance=")
+
+// Result
+// maximum series resistance is 117 ohms
diff --git a/317/CH5/EX5.10/example10.txt b/317/CH5/EX5.10/example10.txt
new file mode 100755
index 000000000..4b86a82b8
--- /dev/null
+++ b/317/CH5/EX5.10/example10.txt
@@ -0,0 +1 @@
+maximum series resistance is 117 ohms
diff --git a/317/CH5/EX5.11/example11.sce b/317/CH5/EX5.11/example11.sce
new file mode 100755
index 000000000..068ddc5b7
--- /dev/null
+++ b/317/CH5/EX5.11/example11.sce
@@ -0,0 +1,20 @@
+// find maximum allowable series resistance
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-11, page 157
+
+clear;clc; close;
+
+// Given data
+Ilmax=20*10^-3;// maximum load current in amperes
+Vsmin=15;// minimum input voltage in volts
+Vz=6.8;// zener voltage in volts
+
+// Calculations
+Rsmax=(Vsmin-Vz)/Ilmax;// maximum series resistance in ohms
+disp("ohms",Rsmax,"Series resistance=")
+
+// Result
+// maximum series resistance is 410 ohms
diff --git a/317/CH5/EX5.11/example11.txt b/317/CH5/EX5.11/example11.txt
new file mode 100755
index 000000000..f4688741c
--- /dev/null
+++ b/317/CH5/EX5.11/example11.txt
@@ -0,0 +1 @@
+maximum series resistance is 410 ohms
diff --git a/317/CH5/EX5.12/example12.sce b/317/CH5/EX5.12/example12.sce
new file mode 100755
index 000000000..9db40b798
--- /dev/null
+++ b/317/CH5/EX5.12/example12.sce
@@ -0,0 +1,20 @@
+// find approximate load current
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-12, page 168
+
+clear;clc; close;
+
+// Given data
+Vs=50;// dc input voltage in volts
+Vd=2;// forward voltage in volts
+Rs=2.2*10^3;// series resistance in ohms
+
+// Calculations
+Is=(Vs-Vd)/Rs;// load current in amperes
+disp("Amperes",Is,"load current =")
+
+// Result
+// approximate load current is 21.8 mAmperes.
diff --git a/317/CH5/EX5.12/example12.txt b/317/CH5/EX5.12/example12.txt
new file mode 100755
index 000000000..5706a9c69
--- /dev/null
+++ b/317/CH5/EX5.12/example12.txt
@@ -0,0 +1 @@
+approximate load current is 21.8 mAmperes
diff --git a/317/CH5/EX5.13/example13.sce b/317/CH5/EX5.13/example13.sce
new file mode 100755
index 000000000..bde55533b
--- /dev/null
+++ b/317/CH5/EX5.13/example13.sce
@@ -0,0 +1,21 @@
+// find load current
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-13, page 168
+
+clear;clc; close;
+
+// Given data
+// input terminals are shorted
+Vs=9;// dc input voltage in volts
+Vd=2;// forward voltage in volts
+Rs=470;// series resistance in ohms
+
+// Calculations
+Is=(Vs-Vd)/Rs;// load current in amperes
+disp("Amperes",Is,"load current =")
+
+// Result
+// approximate load current is 14.9 mAmperes.
diff --git a/317/CH5/EX5.13/example13.txt b/317/CH5/EX5.13/example13.txt
new file mode 100755
index 000000000..59c7138f3
--- /dev/null
+++ b/317/CH5/EX5.13/example13.txt
@@ -0,0 +1 @@
+approximate load current is 14.9 mAmperes.
diff --git a/317/CH5/EX5.14/example14.sce b/317/CH5/EX5.14/example14.sce
new file mode 100755
index 000000000..39578ed54
--- /dev/null
+++ b/317/CH5/EX5.14/example14.sce
@@ -0,0 +1,24 @@
+// find average LED current,power dissipation in series resistor
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-14, page 169
+
+clear;clc; close;
+
+// Given data
+V=20;// ac source rms voltage in volts
+Rs=680;// series resistance in ohms
+
+// Calculations
+Vp=sqrt(2)*V;// peak voltage in volts
+Is1=Vp/Rs;// peak current in amperes
+Is2=Is1/%pi;// average of the half-wave currnt through LED
+P=(V)^2/Rs;// power dissipated in watts
+disp("Amperes",Is2,"average LED current =")
+disp("Watts",P,"dissipated power=")
+
+// Result
+// Average LED current is 13.1 mAmperes
+// Power dissipated is 0.588 watts.
diff --git a/317/CH5/EX5.14/example14.txt b/317/CH5/EX5.14/example14.txt
new file mode 100755
index 000000000..f3564a0a6
--- /dev/null
+++ b/317/CH5/EX5.14/example14.txt
@@ -0,0 +1,2 @@
+Average LED current is 13.1 mAmperes
+Power dissipated is 0.588 watts
diff --git a/317/CH5/EX5.15/example15.sce b/317/CH5/EX5.15/example15.sce
new file mode 100755
index 000000000..5c6858874
--- /dev/null
+++ b/317/CH5/EX5.15/example15.sce
@@ -0,0 +1,23 @@
+// find average LED current
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-15, page 170
+
+clear;clc; close;
+
+// Given data
+f=60;// frequency in hertz
+C=0.68*10^-6;// capacitance in faradays
+V=170;// voltage in volts
+
+// Calculations
+Xc=1/(2*%pi*f*C);// capacitive resistance in ohms
+Is1=V/Xc;// peak current in amperes
+Is2=Is1/%pi;// average of the half-wave currnt through LED
+disp("Amperes",Is2,"average LED current =")
+
+// Result
+// Average LED current is 13.9 mAmperes
+
diff --git a/317/CH5/EX5.15/example15.txt b/317/CH5/EX5.15/example15.txt
new file mode 100755
index 000000000..ab5f69aff
--- /dev/null
+++ b/317/CH5/EX5.15/example15.txt
@@ -0,0 +1 @@
+Average LED current is 13.9 mAmperes
diff --git a/317/CH5/EX5.2/example2.sce b/317/CH5/EX5.2/example2.sce
new file mode 100755
index 000000000..9c63836f9
--- /dev/null
+++ b/317/CH5/EX5.2/example2.sce
@@ -0,0 +1,22 @@
+// to check if zener diode shown in the figure is operating in the breakdown region
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-2, page 149
+
+clear;clc; close;
+
+// Given data
+Rl=1*10^3;// in ohms
+Rs=270;// in ohms
+Vs=18;// in volts
+Vz=10;// zener voltage in volts
+
+// Calculations
+Vth=(Rl/(Rs+Rl))*Vs;// Thevenin voltage facing the diode
+disp("Volts",Vth,"Thevenin voltage=")
+disp("Vth>Vz")
+
+// Result
+// Since thevenin voltage is greater than zener voltage,zener diode is operating in the breakdown region \ No newline at end of file
diff --git a/317/CH5/EX5.2/example2.txt b/317/CH5/EX5.2/example2.txt
new file mode 100755
index 000000000..19d394637
--- /dev/null
+++ b/317/CH5/EX5.2/example2.txt
@@ -0,0 +1 @@
+Since thevenin voltage is greater than zener voltage,zener diode is operating in the breakdown region
diff --git a/317/CH5/EX5.3/example3.sce b/317/CH5/EX5.3/example3.sce
new file mode 100755
index 000000000..dfd50c75b
--- /dev/null
+++ b/317/CH5/EX5.3/example3.sce
@@ -0,0 +1,24 @@
+// to find zener current
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-3, page 149
+
+clear;clc; close;
+
+// Given data
+Vl=10;// load voltage in volts
+Rl=1*10^3;// in ohms
+Rs=270;// in ohms
+Vs=18;// in volts
+Vz=10;// zener voltage in volts
+
+// Calculations
+Is=(Vs-Vz)/Rs; // current through series resistor in amperes
+Il=Vl/Rl;// in amperes
+Iz=Is-Il;// zener current in amperes
+disp("Amperes",Iz,"zener current =")
+
+// Result
+// Zener current is 19.6 mAmperes
diff --git a/317/CH5/EX5.3/example3.txt b/317/CH5/EX5.3/example3.txt
new file mode 100755
index 000000000..7230ed5d4
--- /dev/null
+++ b/317/CH5/EX5.3/example3.txt
@@ -0,0 +1 @@
+Zener current is 19.6 mAmperes
diff --git a/317/CH5/EX5.7/example7.sce b/317/CH5/EX5.7/example7.sce
new file mode 100755
index 000000000..a3cbe91d6
--- /dev/null
+++ b/317/CH5/EX5.7/example7.sce
@@ -0,0 +1,21 @@
+// using second approximation find load voltage
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-7, page 153
+
+clear;clc; close;
+
+// Given data
+Iz=20*10^-3;// zener current in amperes
+Rz=8.5;// zener resistance in ohms
+Vz=10;// breakdown voltage in volts
+
+// Calculations
+dVl=Iz*Rz;// change in load voltage in volts
+Vl=Vz+dVl;// load voltage in volts
+disp("Volts",Vl,"load voltage=")
+
+// Result
+// load voltage is 10.17 volts
diff --git a/317/CH5/EX5.7/example7.txt b/317/CH5/EX5.7/example7.txt
new file mode 100755
index 000000000..1c3cbe0d2
--- /dev/null
+++ b/317/CH5/EX5.7/example7.txt
@@ -0,0 +1 @@
+load voltage is 10.17 volts
diff --git a/317/CH5/EX5.8/example8.sce b/317/CH5/EX5.8/example8.sce
new file mode 100755
index 000000000..4f5d33a26
--- /dev/null
+++ b/317/CH5/EX5.8/example8.sce
@@ -0,0 +1,21 @@
+// find approximate ripple voltage across load
+// Electronic Principles
+// By Albert Malvino , David Bates
+// Seventh Edition
+// The McGraw-Hill Companies
+// Example 5-8, page 154
+
+clear;clc; close;
+
+// Given data
+Rs=270; // series resistance in ohms
+Vrin=2;// input ripple in volts
+Rz=8.5;// zener resistance in ohms
+Vz=10;// breakdown voltage in volts
+
+// Calculations
+Vrout=(Rz/Rs)*Vrin;// output ripple in volts
+disp("Volts",Vrout,"load ripple=")
+
+// Result
+// approximate load ripple is 63 mVolts
diff --git a/317/CH5/EX5.8/example8.txt b/317/CH5/EX5.8/example8.txt
new file mode 100755
index 000000000..060cf7ae8
--- /dev/null
+++ b/317/CH5/EX5.8/example8.txt
@@ -0,0 +1 @@
+approximate load ripple is 63 mVolts