summaryrefslogtreecommitdiff
path: root/2825/CH11
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH11')
-rwxr-xr-x2825/CH11/EX11.1/Ex11_1.sce33
-rwxr-xr-x2825/CH11/EX11.2/Ex11_2.sce27
-rwxr-xr-x2825/CH11/EX11.3/Ex11_3.sce12
-rwxr-xr-x2825/CH11/EX11.4/Ex11_4.sce34
-rwxr-xr-x2825/CH11/EX11.5/Ex11_5.sce14
5 files changed, 120 insertions, 0 deletions
diff --git a/2825/CH11/EX11.1/Ex11_1.sce b/2825/CH11/EX11.1/Ex11_1.sce
new file mode 100755
index 000000000..a2c454cee
--- /dev/null
+++ b/2825/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,33 @@
+//Ex11_1 Pg-536
+clc
+
+Vcc=15 //supply voltage in V
+R1=2*10^(3) //resistor R1 in ohm
+R2=470 //resistor R2 in ohm
+Rc=680 //collector resistor in ohm
+Rl=2.7*10^(3) //load resistor in ohm
+Re=220 //emitter resistor
+
+Idc=Vcc/(Rc+Re) //saturation current
+printf("(1) Idc_sat = %.1f mA \n",Idc*1e3)
+
+DCload=Rc //Dc load resistance
+printf(" (2) DC load = %.0f ohm \n",DCload)
+
+ACload=Rc*Rl/(Rc+Rl) //Ac load resistance
+printf(" (3) AC load = %.0f ohm \n",ACload)
+
+Vb=R2/(R1+R2)*Vcc //base voltage
+Icq=(Vb-0.7)/Re //collector current
+printf("(4) Icq = %.1f mA \n",Icq*1e3)
+//answer in the book is wrong
+
+Vc=Vcc-Icq*Rc //collector emitter voltage
+Vceq=Vc-Icq*Re
+printf("(5) Vceq = %.1f V \n",Vceq)
+//answer in the book is wrong
+
+Pac=Vcc^2/(8*Rl) //ac power
+Pdc=Vcc*Idc //dc power
+n=Pac/Pdc*100 //efficiency
+printf(" Efiiciency = %.0f %%",n)
diff --git a/2825/CH11/EX11.2/Ex11_2.sce b/2825/CH11/EX11.2/Ex11_2.sce
new file mode 100755
index 000000000..e1f754a9b
--- /dev/null
+++ b/2825/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,27 @@
+//Ex11_2 Pg-551
+clc
+
+Po=4 //power in watts
+n=80/100 //transformer efficiency in percentage
+Vcc=30 //supply voltage
+
+Pout=Po/n //effective power
+printf("Effective power to be transfered = %.0f W\n",Pout)
+
+disp("Impedance seen when ""looking into"" the whole winding of centertapped transformer ")
+Vp=Vcc //peak voltage
+Rload=Vp^2/(2*Pout)
+Rload_4=4*Rload //effective load
+printf("\n Effective load = %.0f ohm \n",Rload_4)
+
+disp("Transformer specification Po=4W,RL=16ohm,RL""=360ohm")
+
+Vce=2*Vcc //Maximum transistor voltage
+printf("\n Maximum transistor voltage = %.0f V\n",Vce)
+
+Ip=2*Pout/Vp //Maximum transistor current
+Ic=Ip
+printf("\n Maximum transistor current = %.0f mA \n",Ip*1e3)
+// answer in the book is different due to approximate value
+printf("\n Transformer specification Vce=60V,Ic=%.0f mA",Ic*1e3)
+// answer in the book is different due to approximate value
diff --git a/2825/CH11/EX11.3/Ex11_3.sce b/2825/CH11/EX11.3/Ex11_3.sce
new file mode 100755
index 000000000..5f6963339
--- /dev/null
+++ b/2825/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,12 @@
+//Ex11_3 Pg-564
+clc
+
+L=2*10^(-6) //inductance in H
+C=220*10^(-12) //capacitance in F
+
+f0=1/(2*%pi*sqrt(L*C)) //resonant frequency (textbook answer is wrong)
+printf("Resonant frequency = %.1f MHz \n",f0*1e-6)
+
+Q=125 //quality factor
+BW=f0/Q //Bandwidth (textbook answer is wrong)
+printf(" Bandwidth = %.0f kHz",BW*1e-3)
diff --git a/2825/CH11/EX11.4/Ex11_4.sce b/2825/CH11/EX11.4/Ex11_4.sce
new file mode 100755
index 000000000..192fa9a39
--- /dev/null
+++ b/2825/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,34 @@
+//Ex11_4 Pg-564
+clc
+
+Vcc=10 //supply volage in V
+Rc=3600 //collector resistor in ohm
+Re=680 //emitter resistor in ohm
+Ri=10000 //input resistor in ohm
+R2=2.2 //resistor R2 in ohm
+R1=10 //resistor R1 in ohm
+
+Vb=R2/(R1+R2)*Vcc //bias voltage
+printf("(1) Bias voltage = %.1f V \n",Vb)
+
+Ie=(Vb-0.7)/Re //emitter current
+printf(" Emitter current = %.2f mA\n",Ie*1e3)
+
+Vc=Vcc-Rc*Ie //Dc collector voltage
+printf(" DC collector voltage = %.2f V\n",Vc)
+
+Vceq=Vc-Ie*Re //DC collector to emitter voltage
+printf(" DC collector to emitter voltage = %.2f V\n",Vceq)
+
+Pd=Vceq*Ie //power dissipation
+printf(" Power dissipation = %.2f mW\n",Pd*1e3)
+
+printf("\n(2)If collector resistance Rc is replaced by tank circuit \n there is no voltage drop across it. \n")
+Vc=Vcc
+printf(" DC collector voltage = %.0f V\n",Vc)
+
+Vceq=Vc-Ie*Re //DC collector to emitter voltage
+printf(" DC collector to emitter voltage = %.2f V\n",Vceq)
+
+Pd=Vceq*Ie //power dissipation
+printf(" Power dissipation = %.2f mW\n",Pd*1e3)
diff --git a/2825/CH11/EX11.5/Ex11_5.sce b/2825/CH11/EX11.5/Ex11_5.sce
new file mode 100755
index 000000000..b1d3c35c4
--- /dev/null
+++ b/2825/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,14 @@
+//Ex11_5 Pg-565
+clc
+
+Vin=5 //input voltage
+Vp=Vin*sqrt(2) //peak voltage
+printf("The peak value(maximum amplication) of input signal \n")
+printf(" = %.2f V",Vp)
+
+Vin_pp=2*Vp //peak-to-peak value of input voltage
+printf("\n Peak-to-peak value of input voltage \n")
+printf(" = %.2f V",Vin_pp)
+
+Vbg=-1*(Vp-0.7) //base to ground voltage 0.7 is the voltage drop
+printf("\n Base to ground voltage = %.2f",Vbg)