summaryrefslogtreecommitdiff
path: root/2459/CH9
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2459/CH9
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '2459/CH9')
-rw-r--r--2459/CH9/EX9.1/Ex9_1.PNGbin0 -> 29946 bytes
-rw-r--r--2459/CH9/EX9.1/Ex9_1.sce8
-rw-r--r--2459/CH9/EX9.10/Ex9_10.PNGbin0 -> 5576 bytes
-rw-r--r--2459/CH9/EX9.10/Ex9_10.sce21
-rw-r--r--2459/CH9/EX9.11/Ex9_11.PNGbin0 -> 9083 bytes
-rw-r--r--2459/CH9/EX9.11/Ex9_11.sce23
-rw-r--r--2459/CH9/EX9.12/Ex9_12.PNGbin0 -> 4629 bytes
-rw-r--r--2459/CH9/EX9.12/Ex9_12.sce17
-rw-r--r--2459/CH9/EX9.13/Ex9_13.PNGbin0 -> 5612 bytes
-rw-r--r--2459/CH9/EX9.13/Ex9_13.sce15
-rw-r--r--2459/CH9/EX9.14/Ex9_14.PNGbin0 -> 6085 bytes
-rw-r--r--2459/CH9/EX9.14/Ex9_14.sce21
-rw-r--r--2459/CH9/EX9.15/Ex9_15.PNGbin0 -> 6813 bytes
-rw-r--r--2459/CH9/EX9.15/Ex9_15.sce24
-rw-r--r--2459/CH9/EX9.16/Ex9_16.PNGbin0 -> 8242 bytes
-rw-r--r--2459/CH9/EX9.16/Ex9_16.sce45
-rw-r--r--2459/CH9/EX9.17/Ex9_17.PNGbin0 -> 5771 bytes
-rw-r--r--2459/CH9/EX9.17/Ex9_17.sce19
-rw-r--r--2459/CH9/EX9.18/Ex9_18.PNGbin0 -> 4572 bytes
-rw-r--r--2459/CH9/EX9.18/Ex9_18.sce19
-rw-r--r--2459/CH9/EX9.19/Ex9_19.PNGbin0 -> 5079 bytes
-rw-r--r--2459/CH9/EX9.19/Ex9_19.sce16
-rw-r--r--2459/CH9/EX9.19/Figure9_19.JPGbin0 -> 21292 bytes
-rw-r--r--2459/CH9/EX9.2/Ex9_2.PNGbin0 -> 7416 bytes
-rw-r--r--2459/CH9/EX9.2/Ex9_2.sce23
-rw-r--r--2459/CH9/EX9.2/Figure9_2.JPGbin0 -> 22808 bytes
-rw-r--r--2459/CH9/EX9.20/Ex9_20.PNGbin0 -> 7547 bytes
-rw-r--r--2459/CH9/EX9.20/Ex9_20.sce21
-rw-r--r--2459/CH9/EX9.20/Figure9_20.JPGbin0 -> 19680 bytes
-rw-r--r--2459/CH9/EX9.21/Ex9_21.PNGbin0 -> 5385 bytes
-rw-r--r--2459/CH9/EX9.21/Ex9_21.sce28
-rw-r--r--2459/CH9/EX9.21/Figure9_21.JPGbin0 -> 19657 bytes
-rw-r--r--2459/CH9/EX9.22/Ex9_22.PNGbin0 -> 4846 bytes
-rw-r--r--2459/CH9/EX9.22/Ex9_22.sce18
-rw-r--r--2459/CH9/EX9.23/Ex9_23.PNGbin0 -> 4889 bytes
-rw-r--r--2459/CH9/EX9.23/Ex9_23.sce21
-rw-r--r--2459/CH9/EX9.24/Ex9_24.PNGbin0 -> 4671 bytes
-rw-r--r--2459/CH9/EX9.24/Ex9_24.sce16
-rw-r--r--2459/CH9/EX9.25/Ex9_25.PNGbin0 -> 5736 bytes
-rw-r--r--2459/CH9/EX9.25/Ex9_25.sce15
-rw-r--r--2459/CH9/EX9.26/Ex9_26.PNGbin0 -> 4860 bytes
-rw-r--r--2459/CH9/EX9.26/Ex9_26.sce17
-rw-r--r--2459/CH9/EX9.26/Figure9_26.JPGbin0 -> 24621 bytes
-rw-r--r--2459/CH9/EX9.27/Ex9_27.PNGbin0 -> 6779 bytes
-rw-r--r--2459/CH9/EX9.27/Ex9_27.sce22
-rw-r--r--2459/CH9/EX9.28/Ex9_28.PNGbin0 -> 7788 bytes
-rw-r--r--2459/CH9/EX9.28/Ex9_28.sce21
-rw-r--r--2459/CH9/EX9.3/Ex9_3.PNGbin0 -> 4660 bytes
-rw-r--r--2459/CH9/EX9.3/Ex9_3.sce13
-rw-r--r--2459/CH9/EX9.3/Figure9_3.JPGbin0 -> 18674 bytes
-rw-r--r--2459/CH9/EX9.4/Ex9_4.PNGbin0 -> 4519 bytes
-rw-r--r--2459/CH9/EX9.4/Ex9_4.sce17
-rw-r--r--2459/CH9/EX9.4/Figure9_4.JPGbin0 -> 21330 bytes
-rw-r--r--2459/CH9/EX9.5/Ex9_5.PNGbin0 -> 4617 bytes
-rw-r--r--2459/CH9/EX9.5/Ex9_5.sce13
-rw-r--r--2459/CH9/EX9.5/Figure9_5.JPGbin0 -> 22599 bytes
-rw-r--r--2459/CH9/EX9.6/Ex9_6.PNGbin0 -> 4896 bytes
-rw-r--r--2459/CH9/EX9.6/Ex9_6.sce11
-rw-r--r--2459/CH9/EX9.6/Figure9_6.JPGbin0 -> 27030 bytes
-rw-r--r--2459/CH9/EX9.7/Ex9_7.PNGbin0 -> 4734 bytes
-rw-r--r--2459/CH9/EX9.7/Ex9_7.sce16
-rw-r--r--2459/CH9/EX9.7/Figure9_7.JPGbin0 -> 29816 bytes
-rw-r--r--2459/CH9/EX9.8/Ex9_8.PNGbin0 -> 5096 bytes
-rw-r--r--2459/CH9/EX9.8/Ex9_8.sce15
-rw-r--r--2459/CH9/EX9.8/Figure9_8.JPGbin0 -> 20622 bytes
-rw-r--r--2459/CH9/EX9.9/Ex9_9.PNGbin0 -> 12860 bytes
-rw-r--r--2459/CH9/EX9.9/Ex9_9.sce11
67 files changed, 526 insertions, 0 deletions
diff --git a/2459/CH9/EX9.1/Ex9_1.PNG b/2459/CH9/EX9.1/Ex9_1.PNG
new file mode 100644
index 000000000..1b7a0ae10
--- /dev/null
+++ b/2459/CH9/EX9.1/Ex9_1.PNG
Binary files differ
diff --git a/2459/CH9/EX9.1/Ex9_1.sce b/2459/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..6a59df5cf
--- /dev/null
+++ b/2459/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,8 @@
+//chapter9
+//example9.1
+//page142
+
+printf("in fig. (i), the conventional current coming out of battery flows in the \nbranch circuits. In diode D1,the conventional current flows in the \ndirection of arrowhead and hence this diode is forward biased. \nHowever in diode D2, the conventional current flows opposite \nto arrowhead and hence this diode is reverse biased.\n \n")
+printf("in fig. (ii), During the positive half cycle of input ac voltage, the \nconventional current flows in the direction of arrowhead and hence diode \nis forward biased. However, during the negative half cycle \nof input ac voltage, the diode is reverse biased.\n \n")
+printf("in fig. (iii), During the positive half cycle of input ac voltage, the \nconventional current flows in the direction of arrowhead in D1 but it flows \nopposite to arrowhead in D2. So during positive half cycle, \ndiode D1 is forward biased and diode D2 is reverse biased. \nHowever in the negative half cycle of the input ac voltage, diode D2 \nis forward biased and diode D1 is reverse biased.\n \n")
+printf("in fig. (iv), During the positive half cycle of input ac voltage, \nboth diodes are reverse biased. However in the negative half cycle of the \ninput ac voltage, both diodes are forward biased.\n \n")
diff --git a/2459/CH9/EX9.10/Ex9_10.PNG b/2459/CH9/EX9.10/Ex9_10.PNG
new file mode 100644
index 000000000..b8d53caa3
--- /dev/null
+++ b/2459/CH9/EX9.10/Ex9_10.PNG
Binary files differ
diff --git a/2459/CH9/EX9.10/Ex9_10.sce b/2459/CH9/EX9.10/Ex9_10.sce
new file mode 100644
index 000000000..10b306ed8
--- /dev/null
+++ b/2459/CH9/EX9.10/Ex9_10.sce
@@ -0,0 +1,21 @@
+//chapter9
+//example9.10
+//page152
+
+n=10
+Vp=230 // V
+
+Vpm=2^0.5*Vp
+Vsm=Vpm/n // since n=Vpm/Vsm=N1/N2
+
+// Idc=Im/%pi and Vdc=Idc*Rl so
+// Vdc=(Im/%pi)*Rl .Also Im*Rl=Vsm so
+Vdc=Vsm/%pi
+
+// in negative half cycle diode is reverse biased so maximum secondary voltage appears across diode.
+PIV=Vsm
+
+printf("output dc voltage = %.2f V \n",Vdc)
+printf("peak inverse voltage = %.2f V \n",PIV)
+
+// accurate answer for output dc voltage is 10.35 V not 10.36 V
diff --git a/2459/CH9/EX9.11/Ex9_11.PNG b/2459/CH9/EX9.11/Ex9_11.PNG
new file mode 100644
index 000000000..fb98669f8
--- /dev/null
+++ b/2459/CH9/EX9.11/Ex9_11.PNG
Binary files differ
diff --git a/2459/CH9/EX9.11/Ex9_11.sce b/2459/CH9/EX9.11/Ex9_11.sce
new file mode 100644
index 000000000..d6283d547
--- /dev/null
+++ b/2459/CH9/EX9.11/Ex9_11.sce
@@ -0,0 +1,23 @@
+//chapter9
+//example9.11
+//page152
+
+rf=20 // ohm
+Rl=800 // ohm
+Vm=50 // V
+
+Im=Vm/(rf+Rl) // in ampere
+Idc=Im/%pi // in ampere
+Irms=Im/2 // in ampere
+Pac=Irms^2*(rf+Rl)
+Pdc=Idc^2*Rl
+Vout=Idc*Rl
+efficiency=100*Pdc/Pac
+
+printf("Im = %.1f mA \n",Im*1000)
+printf("Idc = %.1f mA \n",Idc*1000)
+printf("Irms = %.1f mA \n \n",Irms*1000)
+printf("ac power input = %.3f W \n",Pac)
+printf("dc power output = %.3f W \n \n",Pdc)
+printf("dc output voltage = %.3f V \n \n",Vout)
+printf("efficiency = %.3f percent \n",efficiency)
diff --git a/2459/CH9/EX9.12/Ex9_12.PNG b/2459/CH9/EX9.12/Ex9_12.PNG
new file mode 100644
index 000000000..0c2d40eed
--- /dev/null
+++ b/2459/CH9/EX9.12/Ex9_12.PNG
Binary files differ
diff --git a/2459/CH9/EX9.12/Ex9_12.sce b/2459/CH9/EX9.12/Ex9_12.sce
new file mode 100644
index 000000000..e3d154950
--- /dev/null
+++ b/2459/CH9/EX9.12/Ex9_12.sce
@@ -0,0 +1,17 @@
+//chapter9
+//example9.12
+//page153
+
+Vdc=50 // V
+rf=25 // ohm
+Rl=800 // ohm
+
+// Vdc=Idc*Rl and Idc=Im/%pi so
+// Vdc=Im*Rl/%pi
+// but Im=Vm/(rf+Rl) so
+// Vdc=Vm*Rl/(%pi*(rf+Rl))
+// making Vm as subject we get
+
+Vm=Vdc*%pi*(rf+Rl)/Rl
+
+printf("ac voltage required = %.1f V \n",Vm)
diff --git a/2459/CH9/EX9.13/Ex9_13.PNG b/2459/CH9/EX9.13/Ex9_13.PNG
new file mode 100644
index 000000000..f5e6ea690
--- /dev/null
+++ b/2459/CH9/EX9.13/Ex9_13.PNG
Binary files differ
diff --git a/2459/CH9/EX9.13/Ex9_13.sce b/2459/CH9/EX9.13/Ex9_13.sce
new file mode 100644
index 000000000..206331305
--- /dev/null
+++ b/2459/CH9/EX9.13/Ex9_13.sce
@@ -0,0 +1,15 @@
+//chapter9
+//example9.13
+//page157
+
+rf=20 // ohm
+Rl=980 // ohm
+Vs=50 // V
+
+Vm=Vs*2^0.5
+Im=Vm/(rf+Rl)
+Idc=2*Im/%pi // in ampere
+Irms=Im/2^0.5 // in ampere
+
+printf("mean load current = %.3f mA \n",Idc*1000)
+printf("rms load current = %.3f mA \n",Irms*1000)
diff --git a/2459/CH9/EX9.14/Ex9_14.PNG b/2459/CH9/EX9.14/Ex9_14.PNG
new file mode 100644
index 000000000..4b8f48144
--- /dev/null
+++ b/2459/CH9/EX9.14/Ex9_14.PNG
Binary files differ
diff --git a/2459/CH9/EX9.14/Ex9_14.sce b/2459/CH9/EX9.14/Ex9_14.sce
new file mode 100644
index 000000000..3c3d9f6ee
--- /dev/null
+++ b/2459/CH9/EX9.14/Ex9_14.sce
@@ -0,0 +1,21 @@
+//chapter9
+//example9.14
+//page157
+
+rf=0
+n=5
+Vp=230 // V rms
+Rl=100 //ohm
+
+Vs=Vp/n // V rms
+Vsm=Vs*2^0.5 // maximum voltage across secondary
+Vm=Vsm/2 // maximum voltage across half secondary winding
+
+Idc=2*Vm/(%pi*Rl)
+Vdc=Idc*Rl
+PIV=Vsm
+efficiency=100*0.812/(1+rf/Rl)
+
+printf("dc output voltage = %.3f V \n",Vdc)
+printf("PIV = %.3f V \n",PIV)
+printf("efficiency = %.3f percent \n",efficiency)
diff --git a/2459/CH9/EX9.15/Ex9_15.PNG b/2459/CH9/EX9.15/Ex9_15.PNG
new file mode 100644
index 000000000..56b5692a6
--- /dev/null
+++ b/2459/CH9/EX9.15/Ex9_15.PNG
Binary files differ
diff --git a/2459/CH9/EX9.15/Ex9_15.sce b/2459/CH9/EX9.15/Ex9_15.sce
new file mode 100644
index 000000000..faa0de2cc
--- /dev/null
+++ b/2459/CH9/EX9.15/Ex9_15.sce
@@ -0,0 +1,24 @@
+//chapter9
+//example9.15
+//page158
+
+n=4
+Rl=200 // ohm
+fin=50 // Hz
+Vp=230 // V rms
+
+Vs=Vp/n // V rms
+Vsm=Vs*2^0.5 // maximum voltage across secondary
+
+Idc=2*Vsm/(%pi*Rl)
+Vdc=Idc*Rl
+PIV=Vsm
+
+// in full wave rectifier, output frequency is twice input frequency since there are two ouput pulses for each cycle of input
+fout=2*fin
+
+printf("dc output voltage = %.3f V \n",Vdc)
+printf("peak inverse voltage = %.3f V \n",PIV)
+printf("output frequency = %.3f Hz",fout)
+
+// the accurate answer for dc output voltage is 51.768 V but in book it is given as 52 V
diff --git a/2459/CH9/EX9.16/Ex9_16.PNG b/2459/CH9/EX9.16/Ex9_16.PNG
new file mode 100644
index 000000000..8a895c18e
--- /dev/null
+++ b/2459/CH9/EX9.16/Ex9_16.PNG
Binary files differ
diff --git a/2459/CH9/EX9.16/Ex9_16.sce b/2459/CH9/EX9.16/Ex9_16.sce
new file mode 100644
index 000000000..945120c2c
--- /dev/null
+++ b/2459/CH9/EX9.16/Ex9_16.sce
@@ -0,0 +1,45 @@
+//chapter9
+//example9.16
+//page158
+
+// for dc output
+ // for centre-tap circuit
+ n=5
+ Vp=230 // V rms
+ Rl=100 //ohm
+ Vs=Vp/n // V rms
+ Vsm=Vs*2^0.5 // maximum voltage across secondary
+ Vm=Vsm/2 // maximum voltage across half secondary winding
+ Vdc=2*Vm/%pi // since Vdc=Idc*Rl and Idc=2*Vm/(%pi*Rl)
+
+ // for bridge circuit
+ n_dash=5
+ Vp_dash=230 // V rms
+ Rl_dash=100 //ohm
+ Vs_dash=Vp_dash/n_dash// V rms
+ Vsm_dash=Vs*2^0.5 // maximum voltage across secondary
+ Vm_dash=Vsm_dash
+ Vdc_dash=2*Vm_dash/%pi // since Vdc=Idc*Rl and Idc=2*Vm/(%pi*Rl)
+
+
+// for same dc output Vm must be same for both circuits i.e. n=5 for centre-tap and n=10 for bridge
+ // for centre-tap circuit
+ n1=5
+ Vs1=Vp/n1 // V rms
+ Vsm1=Vs1*2^0.5 // maximum voltage across secondary
+ Vm1=Vsm1/2
+ PIV1=2*Vm1
+
+ // for bridge circuit
+ n2=5
+ Vs2=Vp/n2 // V rms
+ Vsm2=Vs2*2^0.5 // maximum voltage across secondary
+ Vm2=Vsm2/2
+ PIV2=Vm2
+
+printf("dc output voltage for centre-tap circuit = %.3f V \n",Vdc)
+printf("dc output voltage for bridge circuit = %.3f V \n \n",Vdc_dash)
+
+printf("for same output, PIV for centre-tap circuit = %.3f V and bridge circuit = %.3f V \n",PIV1,PIV2)
+
+// the figure of transformer is for reference only. Also it cannot be plotted in scilab since scilab does not have centre-tap transformer
diff --git a/2459/CH9/EX9.17/Ex9_17.PNG b/2459/CH9/EX9.17/Ex9_17.PNG
new file mode 100644
index 000000000..2a84c1952
--- /dev/null
+++ b/2459/CH9/EX9.17/Ex9_17.PNG
Binary files differ
diff --git a/2459/CH9/EX9.17/Ex9_17.sce b/2459/CH9/EX9.17/Ex9_17.sce
new file mode 100644
index 000000000..247da0d1b
--- /dev/null
+++ b/2459/CH9/EX9.17/Ex9_17.sce
@@ -0,0 +1,19 @@
+//chapter9
+//example9.17
+//page160
+
+Vin=240 // V rms
+Rl=480 // ohm
+rf=1 // ohm
+
+Vm=Vin*2^0.5
+// for bridge rectifier we know that
+Im=Vm/(2*rf+Rl)
+Idc=2*Im/%pi
+Irms=Im/2
+P=Irms^2*rf
+
+printf("mean load current = %.3f A \n",Idc)
+printf("power dissipated in each diode = %.3f W \n",P)
+
+// the accurate answers are mean load current = 0.448 A and power dissipated in each diode = 0.124 W
diff --git a/2459/CH9/EX9.18/Ex9_18.PNG b/2459/CH9/EX9.18/Ex9_18.PNG
new file mode 100644
index 000000000..735f1e725
--- /dev/null
+++ b/2459/CH9/EX9.18/Ex9_18.PNG
Binary files differ
diff --git a/2459/CH9/EX9.18/Ex9_18.sce b/2459/CH9/EX9.18/Ex9_18.sce
new file mode 100644
index 000000000..fffee6cdd
--- /dev/null
+++ b/2459/CH9/EX9.18/Ex9_18.sce
@@ -0,0 +1,19 @@
+//chapter9
+//example9.18
+//page162
+
+Vrms_A=0.5 // V
+Vdc_A=10 // V
+Vrms_B=1 // V
+Vdc_B=25 // V
+
+ripple_A=Vrms_A/Vdc_A
+ripple_B=Vrms_B/Vdc_B
+
+if ripple_A>ripple_B
+ printf("power supply B is better \n")
+elseif ripple_B>ripple_A
+ printf("power supply A is better \n")
+else
+ printf("both are equal \n")
+end
diff --git a/2459/CH9/EX9.19/Ex9_19.PNG b/2459/CH9/EX9.19/Ex9_19.PNG
new file mode 100644
index 000000000..9c2de87c4
--- /dev/null
+++ b/2459/CH9/EX9.19/Ex9_19.PNG
Binary files differ
diff --git a/2459/CH9/EX9.19/Ex9_19.sce b/2459/CH9/EX9.19/Ex9_19.sce
new file mode 100644
index 000000000..cd493b012
--- /dev/null
+++ b/2459/CH9/EX9.19/Ex9_19.sce
@@ -0,0 +1,16 @@
+//chapter9
+//example9.19
+//page165
+
+// the waveform given in book is for understanding only. It is not required to solve the problem. Also it cannot be plotted in scilab unless Vm and Vdc are given.
+
+R=25 // ohm
+Rl=750 // ohm
+Vm=25.7 // V
+
+Vdc_dash=2*Vm/%pi
+Vdc=Vdc_dash*Rl/(R+Rl)
+
+printf("voltage across load is %.3f V plus a small ripple \n",Vdc)
+
+// the accurate answer is 15.833 V but in book it is given as 15.9 V
diff --git a/2459/CH9/EX9.19/Figure9_19.JPG b/2459/CH9/EX9.19/Figure9_19.JPG
new file mode 100644
index 000000000..5e76eff55
--- /dev/null
+++ b/2459/CH9/EX9.19/Figure9_19.JPG
Binary files differ
diff --git a/2459/CH9/EX9.2/Ex9_2.PNG b/2459/CH9/EX9.2/Ex9_2.PNG
new file mode 100644
index 000000000..831404ea0
--- /dev/null
+++ b/2459/CH9/EX9.2/Ex9_2.PNG
Binary files differ
diff --git a/2459/CH9/EX9.2/Ex9_2.sce b/2459/CH9/EX9.2/Ex9_2.sce
new file mode 100644
index 000000000..99a44add5
--- /dev/null
+++ b/2459/CH9/EX9.2/Ex9_2.sce
@@ -0,0 +1,23 @@
+//chapter9
+//example9.2
+//page145
+
+Vi_p=20 // V
+rf=10 // ohm
+Rl=500 // ohm
+Vo=0.7 // V
+Vin=20 // V
+
+// peak current through diode will occur when Vin=Vf so
+Vf=Vin
+// since Vf=Vo+If_peak(rf+Rl) making If_peak as subject we get
+If_peak1=(Vf-Vo)/(rf+Rl) // in ampere
+Vout_peak1=If_peak1*Rl
+
+// for ideal diode, Vo=0 and rf=0 so
+// Vf=If_peak*Rl so we get
+If_peak2=Vf/Rl // in ampere
+Vout_peak2=If_peak2*Rl
+
+printf("peak current through given diode = %.3f mA and peak output voltage = %.3f V \n",If_peak1*1000,Vout_peak1)
+printf("peak current through ideal diode = %.3f mA and peak output voltage = %.3f V \n",If_peak2*1000,Vout_peak2)
diff --git a/2459/CH9/EX9.2/Figure9_2.JPG b/2459/CH9/EX9.2/Figure9_2.JPG
new file mode 100644
index 000000000..967505ea7
--- /dev/null
+++ b/2459/CH9/EX9.2/Figure9_2.JPG
Binary files differ
diff --git a/2459/CH9/EX9.20/Ex9_20.PNG b/2459/CH9/EX9.20/Ex9_20.PNG
new file mode 100644
index 000000000..34f09137c
--- /dev/null
+++ b/2459/CH9/EX9.20/Ex9_20.PNG
Binary files differ
diff --git a/2459/CH9/EX9.20/Ex9_20.sce b/2459/CH9/EX9.20/Ex9_20.sce
new file mode 100644
index 000000000..19c9f7120
--- /dev/null
+++ b/2459/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)
diff --git a/2459/CH9/EX9.20/Figure9_20.JPG b/2459/CH9/EX9.20/Figure9_20.JPG
new file mode 100644
index 000000000..e7d816ba1
--- /dev/null
+++ b/2459/CH9/EX9.20/Figure9_20.JPG
Binary files differ
diff --git a/2459/CH9/EX9.21/Ex9_21.PNG b/2459/CH9/EX9.21/Ex9_21.PNG
new file mode 100644
index 000000000..d99d908da
--- /dev/null
+++ b/2459/CH9/EX9.21/Ex9_21.PNG
Binary files differ
diff --git a/2459/CH9/EX9.21/Ex9_21.sce b/2459/CH9/EX9.21/Ex9_21.sce
new file mode 100644
index 000000000..8d4c037ef
--- /dev/null
+++ b/2459/CH9/EX9.21/Ex9_21.sce
@@ -0,0 +1,28 @@
+//chapter9
+//example9.21
+//page171
+
+Vmax=120 // V
+Vmin=80 // V
+Vz=50 // V
+R_L=10 // kilo ohm
+R1=5 // kilo ohm
+
+// zener diode is on for Vmax and Vmin both since they are > Vz
+
+// for max Iz
+ V_R1=Vmax-Vz
+ I=V_R1/R1 // current through R1
+ I_L=Vz/R_L // current through load
+ // by Kirchoff first law I=I_L+Iz so applying it we get
+ Iz_max=I-I_L
+
+// for min Iz
+ V_R1_dash=Vmin-Vz
+ I_dash=V_R1_dash/R1// current through R1
+ I_L_dash=Vz/R_L // current through load
+ // by Kirchoff first law I=I_L+Iz so we get
+ Iz_min=I_dash-I_L_dash
+
+printf("maximum zener current = %.3f mA \n",Iz_max)
+printf("minimum zener current = %.3f mA \n",Iz_min)
diff --git a/2459/CH9/EX9.21/Figure9_21.JPG b/2459/CH9/EX9.21/Figure9_21.JPG
new file mode 100644
index 000000000..dac9c3f98
--- /dev/null
+++ b/2459/CH9/EX9.21/Figure9_21.JPG
Binary files differ
diff --git a/2459/CH9/EX9.22/Ex9_22.PNG b/2459/CH9/EX9.22/Ex9_22.PNG
new file mode 100644
index 000000000..3a3e37e53
--- /dev/null
+++ b/2459/CH9/EX9.22/Ex9_22.PNG
Binary files differ
diff --git a/2459/CH9/EX9.22/Ex9_22.sce b/2459/CH9/EX9.22/Ex9_22.sce
new file mode 100644
index 000000000..7562ad518
--- /dev/null
+++ b/2459/CH9/EX9.22/Ex9_22.sce
@@ -0,0 +1,18 @@
+//chapter9
+//example9.22
+//page172
+
+Ei=12 // V
+Vz=7.2 // V
+Eo=Vz
+Iz_min=10d-3 // A
+Il_max=100d-3 // A
+
+// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
+R=(Ei-Eo)/(Iz_min+Il_max)
+
+printf("required series resistance = %.3f ohm \n",R)
+
+// on inserting this series resistance the output voltage will remain constant at 7.2 V
+
+// the accurate answer is 43.636 ohm but in book it is given as 43.5 ohm
diff --git a/2459/CH9/EX9.23/Ex9_23.PNG b/2459/CH9/EX9.23/Ex9_23.PNG
new file mode 100644
index 000000000..7c2331245
--- /dev/null
+++ b/2459/CH9/EX9.23/Ex9_23.PNG
Binary files differ
diff --git a/2459/CH9/EX9.23/Ex9_23.sce b/2459/CH9/EX9.23/Ex9_23.sce
new file mode 100644
index 000000000..3bdcdc0e0
--- /dev/null
+++ b/2459/CH9/EX9.23/Ex9_23.sce
@@ -0,0 +1,21 @@
+//chapter9
+//example9.23
+//page172
+
+Ei=22 // V
+Vz=18 // V
+Rl=18 // ohm
+Eo=Vz
+Iz_min=200d-3 // A
+
+// Zener current will be min when input voltage is min
+
+// load current is
+Il_max=Vz/Rl
+
+// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
+R=(Ei-Eo)/(Iz_min+Il_max)
+
+printf("required series resistance = %.3f ohm \n",R)
+
+// on inserting this series resistance the output voltage will remain constant at 18 V
diff --git a/2459/CH9/EX9.24/Ex9_24.PNG b/2459/CH9/EX9.24/Ex9_24.PNG
new file mode 100644
index 000000000..63ab8fae5
--- /dev/null
+++ b/2459/CH9/EX9.24/Ex9_24.PNG
Binary files differ
diff --git a/2459/CH9/EX9.24/Ex9_24.sce b/2459/CH9/EX9.24/Ex9_24.sce
new file mode 100644
index 000000000..88ca8041f
--- /dev/null
+++ b/2459/CH9/EX9.24/Ex9_24.sce
@@ -0,0 +1,16 @@
+//chapter9
+//example9.24
+//page172
+
+Ei=13 // V
+Vz=10 // V
+Eo=Vz
+Iz_min=15d-3 // A
+Il_max=85d-3 // A
+
+// Zener current will be min when input voltage is min
+
+// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
+R=(Ei-Eo)/(Iz_min+Il_max)
+
+printf("required series resistance = %.3f ohm \n",R)
diff --git a/2459/CH9/EX9.25/Ex9_25.PNG b/2459/CH9/EX9.25/Ex9_25.PNG
new file mode 100644
index 000000000..e6b8ce4a2
--- /dev/null
+++ b/2459/CH9/EX9.25/Ex9_25.PNG
Binary files differ
diff --git a/2459/CH9/EX9.25/Ex9_25.sce b/2459/CH9/EX9.25/Ex9_25.sce
new file mode 100644
index 000000000..07a5e64c6
--- /dev/null
+++ b/2459/CH9/EX9.25/Ex9_25.sce
@@ -0,0 +1,15 @@
+//chapter9
+//example9.25
+//page173
+
+Ei=45 // V
+Vz1=15 // V
+Vz2=15 // V
+Iz=200d-3 // current rating for each zener in ampere
+
+Eo=Vz1+Vz2
+
+R=(Ei-Eo)/Iz
+
+printf("regulated output voltage = %.3f V \n",Eo)
+printf("required series resistance = %.3f ohm \n",R)
diff --git a/2459/CH9/EX9.26/Ex9_26.PNG b/2459/CH9/EX9.26/Ex9_26.PNG
new file mode 100644
index 000000000..a9128fd14
--- /dev/null
+++ b/2459/CH9/EX9.26/Ex9_26.PNG
Binary files differ
diff --git a/2459/CH9/EX9.26/Ex9_26.sce b/2459/CH9/EX9.26/Ex9_26.sce
new file mode 100644
index 000000000..2c56fe3c9
--- /dev/null
+++ b/2459/CH9/EX9.26/Ex9_26.sce
@@ -0,0 +1,17 @@
+//chapter9
+//example9.26
+//page173
+
+Ei=45 // V
+Vz1=10 // V
+Vz2=10 // V
+Vz3=10 // V
+Iz=1000d-3 // current rating for each zener in ampere
+
+Eo=Vz1+Vz2+Vz3
+
+R=(Ei-Eo)/Iz
+
+printf("required series resistance = %.3f ohm \n",R)
+
+// since zener diode is not available in xcos, simple diodes are used to represent zener diode in the circuit made in xcos
diff --git a/2459/CH9/EX9.26/Figure9_26.JPG b/2459/CH9/EX9.26/Figure9_26.JPG
new file mode 100644
index 000000000..c7d9a0b86
--- /dev/null
+++ b/2459/CH9/EX9.26/Figure9_26.JPG
Binary files differ
diff --git a/2459/CH9/EX9.27/Ex9_27.PNG b/2459/CH9/EX9.27/Ex9_27.PNG
new file mode 100644
index 000000000..27b9a86e2
--- /dev/null
+++ b/2459/CH9/EX9.27/Ex9_27.PNG
Binary files differ
diff --git a/2459/CH9/EX9.27/Ex9_27.sce b/2459/CH9/EX9.27/Ex9_27.sce
new file mode 100644
index 000000000..bb5c3e7bf
--- /dev/null
+++ b/2459/CH9/EX9.27/Ex9_27.sce
@@ -0,0 +1,22 @@
+//chapter9
+//example9.27
+//page174
+
+R=200 // ohm
+Rl=2000 // ohm
+Eo=30 // V
+
+// for minimum input voltage i.e. Iz=0
+Il=Eo/Rl
+I=Il // since Iz=0
+Vin_min=Eo+I*R
+
+// for maximum input voltage i.e. Iz=25 mA
+Iz=25d-3 // A
+Il_dash=Eo/Rl
+I_dash=Il_dash+Iz
+Vin_max=Eo+I_dash*R
+
+printf("minimum input voltage = %.3f V \n",Vin_min)
+printf("maximum input voltage = %.3f V \n",Vin_max)
+printf("thus range of input = %.3f to %.3f V \n",Vin_min,Vin_max)
diff --git a/2459/CH9/EX9.28/Ex9_28.PNG b/2459/CH9/EX9.28/Ex9_28.PNG
new file mode 100644
index 000000000..f8cd8a4b5
--- /dev/null
+++ b/2459/CH9/EX9.28/Ex9_28.PNG
Binary files differ
diff --git a/2459/CH9/EX9.28/Ex9_28.sce b/2459/CH9/EX9.28/Ex9_28.sce
new file mode 100644
index 000000000..c47a0026c
--- /dev/null
+++ b/2459/CH9/EX9.28/Ex9_28.sce
@@ -0,0 +1,21 @@
+//chapter9
+//example9.28
+//page174
+
+Ei=16 // V
+Vz=12 // V since we want to ragulate at 12 V
+Eo=Vz
+Iz_min=0 // A
+Il_max=200d-3 // A
+
+// Zener current will be min when input voltage is min
+
+// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
+R=(Ei-Eo)/(Iz_min+Il_max)
+
+Izm=Il_max
+Pzm=Vz*Izm
+
+printf("Zener voltage = %.3f V \n",Vz)
+printf("required series resistance = %.3f ohm \n",R)
+printf("maximum power rating of zener diode = %.3f W \n",Pzm)
diff --git a/2459/CH9/EX9.3/Ex9_3.PNG b/2459/CH9/EX9.3/Ex9_3.PNG
new file mode 100644
index 000000000..eec7739e9
--- /dev/null
+++ b/2459/CH9/EX9.3/Ex9_3.PNG
Binary files differ
diff --git a/2459/CH9/EX9.3/Ex9_3.sce b/2459/CH9/EX9.3/Ex9_3.sce
new file mode 100644
index 000000000..2a8cfcef5
--- /dev/null
+++ b/2459/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)
diff --git a/2459/CH9/EX9.3/Figure9_3.JPG b/2459/CH9/EX9.3/Figure9_3.JPG
new file mode 100644
index 000000000..c7dccfef6
--- /dev/null
+++ b/2459/CH9/EX9.3/Figure9_3.JPG
Binary files differ
diff --git a/2459/CH9/EX9.4/Ex9_4.PNG b/2459/CH9/EX9.4/Ex9_4.PNG
new file mode 100644
index 000000000..9a1c6a31b
--- /dev/null
+++ b/2459/CH9/EX9.4/Ex9_4.PNG
Binary files differ
diff --git a/2459/CH9/EX9.4/Ex9_4.sce b/2459/CH9/EX9.4/Ex9_4.sce
new file mode 100644
index 000000000..2352c5c8c
--- /dev/null
+++ b/2459/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,17 @@
+//chapter9
+//example9.4
+//page146
+
+V=10 // V
+V_D1=0.7 // V
+V_D2=0.7 // V
+R=48 // ohm
+R_D1=1 // ohm
+R_D2=1 // ohm
+
+// D1 and D3 are forward biased while D2 and D4 are reverse biased thus
+V_net=V-V_D1-V_D2
+R_t=R_D1+R+R_D2
+I=V_net/R_t
+
+printf("circuit current = %.3f mA \n",I*1000)
diff --git a/2459/CH9/EX9.4/Figure9_4.JPG b/2459/CH9/EX9.4/Figure9_4.JPG
new file mode 100644
index 000000000..8f5e777d4
--- /dev/null
+++ b/2459/CH9/EX9.4/Figure9_4.JPG
Binary files differ
diff --git a/2459/CH9/EX9.5/Ex9_5.PNG b/2459/CH9/EX9.5/Ex9_5.PNG
new file mode 100644
index 000000000..872dc6909
--- /dev/null
+++ b/2459/CH9/EX9.5/Ex9_5.PNG
Binary files differ
diff --git a/2459/CH9/EX9.5/Ex9_5.sce b/2459/CH9/EX9.5/Ex9_5.sce
new file mode 100644
index 000000000..c9fc15b5d
--- /dev/null
+++ b/2459/CH9/EX9.5/Ex9_5.sce
@@ -0,0 +1,13 @@
+//chapter9
+//example9.5
+//page147
+
+E1=24 // V
+E2=4 // V
+Vo=0.7 // V
+R=2 // kilo ohm
+
+// diode D1 is forward biased and diode D2 is reverse biased so
+I=(E1-E2-Vo)/R
+
+printf("current in the circuit = %.3f mA \n",I)
diff --git a/2459/CH9/EX9.5/Figure9_5.JPG b/2459/CH9/EX9.5/Figure9_5.JPG
new file mode 100644
index 000000000..17f1e25ec
--- /dev/null
+++ b/2459/CH9/EX9.5/Figure9_5.JPG
Binary files differ
diff --git a/2459/CH9/EX9.6/Ex9_6.PNG b/2459/CH9/EX9.6/Ex9_6.PNG
new file mode 100644
index 000000000..0e8420c09
--- /dev/null
+++ b/2459/CH9/EX9.6/Ex9_6.PNG
Binary files differ
diff --git a/2459/CH9/EX9.6/Ex9_6.sce b/2459/CH9/EX9.6/Ex9_6.sce
new file mode 100644
index 000000000..2a6c9bc34
--- /dev/null
+++ b/2459/CH9/EX9.6/Ex9_6.sce
@@ -0,0 +1,11 @@
+//chapter9
+//example9.6
+//page147
+
+V=20 // V
+V_D_Ge=0.3 // V
+
+// when voltage is applied, Ge diode turns on first and 0.3 V is maintained across circuit so Si diode never turns on. So
+V_A=V-V_D_Ge
+
+printf("voltage V_A at point A = %.3f V \n",V_A)
diff --git a/2459/CH9/EX9.6/Figure9_6.JPG b/2459/CH9/EX9.6/Figure9_6.JPG
new file mode 100644
index 000000000..f58eb84b6
--- /dev/null
+++ b/2459/CH9/EX9.6/Figure9_6.JPG
Binary files differ
diff --git a/2459/CH9/EX9.7/Ex9_7.PNG b/2459/CH9/EX9.7/Ex9_7.PNG
new file mode 100644
index 000000000..a31de0c15
--- /dev/null
+++ b/2459/CH9/EX9.7/Ex9_7.PNG
Binary files differ
diff --git a/2459/CH9/EX9.7/Ex9_7.sce b/2459/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..b5e10407a
--- /dev/null
+++ b/2459/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,16 @@
+//chapter9
+//example9.7
+//page148
+
+V=10 // V
+V_D=0.7 // V
+R_BC=2 // kilo ohm
+R=2 // kilo ohm
+
+// by Kirchoff voltage law we get
+// -V_D-I_D*R_BC-2*I_D*R+V=0 thus making I_D as subject we get
+I_D=(V-V_D)/(R_BC+2*R)
+V_Q=2*I_D*R
+
+printf("I_D = %.3f mA \n",I_D)
+printf("V_Q = %.3f V \n",V_Q)
diff --git a/2459/CH9/EX9.7/Figure9_7.JPG b/2459/CH9/EX9.7/Figure9_7.JPG
new file mode 100644
index 000000000..c5fa52419
--- /dev/null
+++ b/2459/CH9/EX9.7/Figure9_7.JPG
Binary files differ
diff --git a/2459/CH9/EX9.8/Ex9_8.PNG b/2459/CH9/EX9.8/Ex9_8.PNG
new file mode 100644
index 000000000..0ee75b7f3
--- /dev/null
+++ b/2459/CH9/EX9.8/Ex9_8.PNG
Binary files differ
diff --git a/2459/CH9/EX9.8/Ex9_8.sce b/2459/CH9/EX9.8/Ex9_8.sce
new file mode 100644
index 000000000..3567f74b6
--- /dev/null
+++ b/2459/CH9/EX9.8/Ex9_8.sce
@@ -0,0 +1,15 @@
+//chapter9
+//example9.8
+//page148
+
+V=15 // V
+R=0.5 // kilo ohm
+V_D=0.7 // V
+
+// both diodes are forward biased
+
+I1=(V-V_D)/R
+I_D1=I1/2
+I_D2=I_D1
+
+printf("current through diode D1 = %.3f mA and diode D2 = %.3f mA \n",I_D1,I_D2)
diff --git a/2459/CH9/EX9.8/Figure9_8.JPG b/2459/CH9/EX9.8/Figure9_8.JPG
new file mode 100644
index 000000000..e64f6bfd9
--- /dev/null
+++ b/2459/CH9/EX9.8/Figure9_8.JPG
Binary files differ
diff --git a/2459/CH9/EX9.9/Ex9_9.PNG b/2459/CH9/EX9.9/Ex9_9.PNG
new file mode 100644
index 000000000..cb8ee3c51
--- /dev/null
+++ b/2459/CH9/EX9.9/Ex9_9.PNG
Binary files differ
diff --git a/2459/CH9/EX9.9/Ex9_9.sce b/2459/CH9/EX9.9/Ex9_9.sce
new file mode 100644
index 000000000..6b33fcb1e
--- /dev/null
+++ b/2459/CH9/EX9.9/Ex9_9.sce
@@ -0,0 +1,11 @@
+//chapter9
+//example9.9
+//page151
+
+P_dc=40 // W
+P_ac=100 // W
+
+efficiency=100*P_dc/P_ac
+
+printf("rectification efficiency = %.3f percent \n \n",efficiency)
+printf("remaining 60 watts are not lost. Crystal diode consumes only a \nlittle power due to its small internal resistance. \nActualy 100 W ac power is contained as 50 W in positive half \ncycle and 50 W in negative half cycle.\nThe 50 W of negative half cycle are not supplied at all. \nThe 50 W of positive half cycle are converted to 40 W \n")