summaryrefslogtreecommitdiff
path: root/3507/CH11
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH11')
-rw-r--r--3507/CH11/EX11.1/Ex11_1.sce15
-rw-r--r--3507/CH11/EX11.10/Ex11_10.sce12
-rw-r--r--3507/CH11/EX11.11/Ex11_11.sce13
-rw-r--r--3507/CH11/EX11.12/Ex11_12.sce16
-rw-r--r--3507/CH11/EX11.13/Ex11_13.sce21
-rw-r--r--3507/CH11/EX11.14/Ex11_14.sce17
-rw-r--r--3507/CH11/EX11.15/Ex11_15.sce27
-rw-r--r--3507/CH11/EX11.16/Ex11_16.sce14
-rw-r--r--3507/CH11/EX11.17/Ex11_17.sce10
-rw-r--r--3507/CH11/EX11.18/Ex11_18.sce15
-rw-r--r--3507/CH11/EX11.19/Ex11_19.sce12
-rw-r--r--3507/CH11/EX11.2/Ex11_2.sce11
-rw-r--r--3507/CH11/EX11.20/Ex11_20.sce23
-rw-r--r--3507/CH11/EX11.21/Ex11_21.sce11
-rw-r--r--3507/CH11/EX11.3/Ex11_3.sce16
-rw-r--r--3507/CH11/EX11.4/Ex11_4.sce11
-rw-r--r--3507/CH11/EX11.5/Ex11_5.sce11
-rw-r--r--3507/CH11/EX11.6/Ex11_6.sce17
-rw-r--r--3507/CH11/EX11.7/Ex11_7.sce19
-rw-r--r--3507/CH11/EX11.8/Ex11_8.sce15
-rw-r--r--3507/CH11/EX11.9/Ex11_9.sce12
21 files changed, 318 insertions, 0 deletions
diff --git a/3507/CH11/EX11.1/Ex11_1.sce b/3507/CH11/EX11.1/Ex11_1.sce
new file mode 100644
index 000000000..ae079f9ad
--- /dev/null
+++ b/3507/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,15 @@
+//chapter11
+//example11.1
+//page202
+
+Rin=20 //ohm
+Rout=100d3 //ohm
+Rc=1d3 //ohm
+signal=500d-3 //V
+
+Ie=signal/Rin // A
+Ic=Ie
+Vout=Ic*Rc
+Av=Vout/signal
+
+printf("voltage amplification = %.2f \n",Av)
diff --git a/3507/CH11/EX11.10/Ex11_10.sce b/3507/CH11/EX11.10/Ex11_10.sce
new file mode 100644
index 000000000..1280e5c59
--- /dev/null
+++ b/3507/CH11/EX11.10/Ex11_10.sce
@@ -0,0 +1,12 @@
+//chapter11
+//example11.10
+//page210
+
+gain_beta=49
+Ib=240d-3 // mA
+Ie=12 // mA
+
+alpha=gain_beta/(1+gain_beta)
+Ic=alpha*Ie // or Ic=gain_beta*Ib
+
+printf("collector current = %.3f mA \n",Ic)
diff --git a/3507/CH11/EX11.11/Ex11_11.sce b/3507/CH11/EX11.11/Ex11_11.sce
new file mode 100644
index 000000000..97928507e
--- /dev/null
+++ b/3507/CH11/EX11.11/Ex11_11.sce
@@ -0,0 +1,13 @@
+//chapter11
+//example11.11
+//page210
+
+V_Rc=1
+gain_beta=45
+Rc=1 // kilo ohm
+
+Ic=V_Rc/Rc
+//since gain_beta=Ic/Ib
+Ib=Ic/gain_beta
+
+printf("base current = %.3f mA",Ib)
diff --git a/3507/CH11/EX11.12/Ex11_12.sce b/3507/CH11/EX11.12/Ex11_12.sce
new file mode 100644
index 000000000..8793e5102
--- /dev/null
+++ b/3507/CH11/EX11.12/Ex11_12.sce
@@ -0,0 +1,16 @@
+//chapter11
+//example11.12
+//page210
+
+Rc=800d-3 // kilo ohm
+V_Rc=0.5 // V
+Vcc=8 // V
+alpha=0.96
+
+Vce=Vcc-V_Rc
+Ic=V_Rc/Rc // mA
+gain_beta=alpha/(1-alpha)
+Ib=Ic/gain_beta
+
+printf("collector emitter voltage = %.3f V \n",Vce)
+printf("base current = %.3f mA \n",Ib)
diff --git a/3507/CH11/EX11.13/Ex11_13.sce b/3507/CH11/EX11.13/Ex11_13.sce
new file mode 100644
index 000000000..c4de28cdd
--- /dev/null
+++ b/3507/CH11/EX11.13/Ex11_13.sce
@@ -0,0 +1,21 @@
+//chapter11
+//example11.13
+//page211
+
+Ic=1000 // micro ampere
+// when emitter circuit is open, leakage current = Icbo so
+Icbo=0.2 // micro ampere
+
+// when base is open, leakage current = Iceo so
+Iceo=20 // micro ampere
+
+//since Iceo=Icbo/(1-alpha) we get
+alpha=1-(Icbo/Iceo)
+
+// since Ic=alpha*Ie+Icbo we get
+Ie=(Ic-Icbo)/alpha
+Ib=Ie-Ic
+
+printf("alpha = %.3f \n",alpha)
+printf("emitter current = %.3f micro ampere \n",Ie)
+printf("base current = %.3f micro ampere \n",Ib)
diff --git a/3507/CH11/EX11.14/Ex11_14.sce b/3507/CH11/EX11.14/Ex11_14.sce
new file mode 100644
index 000000000..62badf0ea
--- /dev/null
+++ b/3507/CH11/EX11.14/Ex11_14.sce
@@ -0,0 +1,17 @@
+//chapter11
+//example11.14
+//page218
+
+Vcc=12.5 // V
+Rc=2.5 // kilo ohm
+
+// we know that Vce=Vcc-Ic*Rc
+// when Ic=0, Vce=Vcc i.e. 12.5V
+// when Vce=0, Ic=Vcc/Rc i.e.5mA
+
+// so equation of load line becomes Ic=-0.4*Vce+5
+x=linspace(0,12.5,5)
+y=-0.4*x+5
+clf()
+xtitle("dc load line","Vce(volts)","Ic(mA)")
+plot2d(x,y,style=3,rect=[0,0,13,6])
diff --git a/3507/CH11/EX11.15/Ex11_15.sce b/3507/CH11/EX11.15/Ex11_15.sce
new file mode 100644
index 000000000..2c34638fe
--- /dev/null
+++ b/3507/CH11/EX11.15/Ex11_15.sce
@@ -0,0 +1,27 @@
+//chapter11
+//example11.15
+//page219
+
+Vcc=12 // V
+Rc=6 // kilo ohm
+
+// we know that Vce=Vcc-Ic*Rc
+// when Ic=0, Vce=Vcc i.e. 12V
+// when Vce=0, Ic=Vcc/Rc i.e.2mA
+
+// so equation of load line becomes Ic=-(1/6)*Vce+2
+x=linspace(0,12,5)
+y=-(1/6)*x+2
+clf()
+xtitle("dc load line","Vce(volts)","Ic(mA)")
+plot2d(x,y,style=3,rect=[0,0,13,6])
+
+
+// for Q point
+Ib=20d-3 // mA
+gain_beta=50
+
+Ic=gain_beta*Ib
+Vce=Vcc-Ic*Rc
+
+printf("Q point = %.3f V and %.3f mA i.e. (%.3f,%.3f) \n",Vce,Ic,Vce,Ic)
diff --git a/3507/CH11/EX11.16/Ex11_16.sce b/3507/CH11/EX11.16/Ex11_16.sce
new file mode 100644
index 000000000..42df577c7
--- /dev/null
+++ b/3507/CH11/EX11.16/Ex11_16.sce
@@ -0,0 +1,14 @@
+//chapter11
+//example11.16
+//page219
+
+Vcc=10
+Ic=1 // mA
+Rc1=4 // kilo ohm
+Rc2=5 // kilo ohm
+
+Vce1=Vcc-Ic*Rc1
+Vce2=Vcc-Ic*Rc2
+
+printf("for collector load = 4 kilo ohm, operating point is %.3f V,%.3f mA \n",Vce1,Ic)
+printf("for collector load = 5 kilo ohm, operating point is %.3f V,%.3f mA \n",Vce2,Ic)
diff --git a/3507/CH11/EX11.17/Ex11_17.sce b/3507/CH11/EX11.17/Ex11_17.sce
new file mode 100644
index 000000000..c20aab087
--- /dev/null
+++ b/3507/CH11/EX11.17/Ex11_17.sce
@@ -0,0 +1,10 @@
+//chapter11
+//example11.17
+//page222
+
+del_Vbe=200 //mV
+del_Ib=100 // micro ampere
+
+Ri=del_Vbe/del_Ib
+
+printf("input resistance = %.3f kilo ohm \n",Ri)
diff --git a/3507/CH11/EX11.18/Ex11_18.sce b/3507/CH11/EX11.18/Ex11_18.sce
new file mode 100644
index 000000000..f6dbe648a
--- /dev/null
+++ b/3507/CH11/EX11.18/Ex11_18.sce
@@ -0,0 +1,15 @@
+//chapter11
+//example11.18
+//page222
+
+Vce2=10 // V
+Vce1=2 // V
+Ic1=2 // mA
+Ic2=3 // mA
+
+del_Vce=Vce2-Vce1 // V
+del_Ic=Ic2-Ic1 // mA
+
+Ro=del_Vce/del_Ic
+
+printf("output resistance = %.3f kilo ohm \n",Ro)
diff --git a/3507/CH11/EX11.19/Ex11_19.sce b/3507/CH11/EX11.19/Ex11_19.sce
new file mode 100644
index 000000000..9fb46ec0e
--- /dev/null
+++ b/3507/CH11/EX11.19/Ex11_19.sce
@@ -0,0 +1,12 @@
+//chapter11
+//example11.19
+//page223
+
+Rc=2 // kilo ohm
+Ri=1 // kilo ohm
+gain_beta=50
+
+// for single stage, R_AC=Rc so voltage gain becomes
+Av=gain_beta*Rc/Ri
+
+printf("voltage gain = %.3f \n",Av)
diff --git a/3507/CH11/EX11.2/Ex11_2.sce b/3507/CH11/EX11.2/Ex11_2.sce
new file mode 100644
index 000000000..ca0f347f5
--- /dev/null
+++ b/3507/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,11 @@
+//chapter11
+//example11.2
+//page205
+
+Ie=1 //mA
+Ic=0.95 //mA
+
+// since Ie=Ib+Ic we get
+Ib=Ie-Ic
+
+printf("base current = %.3f mA \n",Ib)
diff --git a/3507/CH11/EX11.20/Ex11_20.sce b/3507/CH11/EX11.20/Ex11_20.sce
new file mode 100644
index 000000000..024a57f96
--- /dev/null
+++ b/3507/CH11/EX11.20/Ex11_20.sce
@@ -0,0 +1,23 @@
+//chapter11
+//example11.20
+//page224
+
+Vcc=20 // V
+Rc=1 // kilo ohm
+
+// for saturation collector current, knee voltage becomes 0V so we get
+Ic_sat=Vcc/Rc
+
+// it can be seen from the circuit that cut-off voltage (i.e. when Ib=0) equals Vcc itself
+Vce_cutoff=Vcc
+
+// the equation of load line becomes Ic=-Vce+20
+
+clf()
+x=linspace(0,20,5)
+y=-x+20
+plot2d(x,y,style=3,rect=[0,0,21,21])
+xtitle("dc load line","Vce(volts)","Ic(mA)")
+
+printf("saturation collector current = %.3f mA \n",Ic_sat)
+printf("cut-off collector emitter voltage = %.3f V \n",Vce_cutoff)
diff --git a/3507/CH11/EX11.21/Ex11_21.sce b/3507/CH11/EX11.21/Ex11_21.sce
new file mode 100644
index 000000000..2f732955e
--- /dev/null
+++ b/3507/CH11/EX11.21/Ex11_21.sce
@@ -0,0 +1,11 @@
+//chapter11
+//example11.21
+//page225
+
+Vce=20 // V
+Pd=100 // mW
+
+// since Pd=Vce*Ic we get
+Ic=Pd/Vce
+
+printf("maximum allowable collector current = %.3f mA \n ",Ic)
diff --git a/3507/CH11/EX11.3/Ex11_3.sce b/3507/CH11/EX11.3/Ex11_3.sce
new file mode 100644
index 000000000..b08301db2
--- /dev/null
+++ b/3507/CH11/EX11.3/Ex11_3.sce
@@ -0,0 +1,16 @@
+//chapter11
+//example11.3
+//page205
+
+alpha=0.9
+Ie=1 //mA
+
+// since alpha=Ic/Ie we get
+
+Ic=alpha*Ie
+
+// since Ie=Ic+Ib we get
+
+Ib=Ie-Ic
+
+printf("base current = %.3f mA \n",Ib)
diff --git a/3507/CH11/EX11.4/Ex11_4.sce b/3507/CH11/EX11.4/Ex11_4.sce
new file mode 100644
index 000000000..f2c1b38bb
--- /dev/null
+++ b/3507/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,11 @@
+//chapter11
+//example11.4
+//page205
+
+Ic=0.95
+Ib=0.05
+
+Ie=Ib+Ic
+alpha=Ic/Ie
+
+printf("amplification factor = %.3f \n",alpha)
diff --git a/3507/CH11/EX11.5/Ex11_5.sce b/3507/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..3b17431c6
--- /dev/null
+++ b/3507/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,11 @@
+//chapter11
+//example11.5
+//page205
+
+Ie=1 //mA
+alpha=0.92
+Icbo=50d-3 //mA
+
+Ic=alpha*Ie+Icbo
+
+printf("collector current = %.3f mA \n",Ic)
diff --git a/3507/CH11/EX11.6/Ex11_6.sce b/3507/CH11/EX11.6/Ex11_6.sce
new file mode 100644
index 000000000..082cceecb
--- /dev/null
+++ b/3507/CH11/EX11.6/Ex11_6.sce
@@ -0,0 +1,17 @@
+//chapter11
+//example11.6
+//page205
+
+alpha=0.95
+V_Rc=2 // V
+Rc=2 //kilo ohm
+
+Ic=V_Rc/Rc // mA
+
+// since alpha=Ic/Ie
+Ie=Ic/alpha
+
+// since Ie=Ib+Ic
+Ib=Ie-Ic
+
+printf("base current = %.3f mA \n",Ib)
diff --git a/3507/CH11/EX11.7/Ex11_7.sce b/3507/CH11/EX11.7/Ex11_7.sce
new file mode 100644
index 000000000..6aa057349
--- /dev/null
+++ b/3507/CH11/EX11.7/Ex11_7.sce
@@ -0,0 +1,19 @@
+//chapter11
+//example11.7
+//page206
+
+Vbe=0.7 // V
+Vcc=18 // V
+Vee=8 // V
+Rc=1.2 // kilo ohm
+Re=1.5 //kilo ohm
+
+// by Kirchoff's voltage law to emitter side loop, we get Vee=Ie*Re+Vbe so
+Ie=(Vee-Vbe)/Re
+Ic=Ie // nearly
+
+// by Kirchoff's voltage law to collector side loop, we get Vcc=Ic*Rc=Vcb so
+Vcb=Vcc-Ic*Rc
+
+printf("collector curent = %.3f mA \n",Ic)
+printf("collector base voltage = %3f V \n",Vcb)
diff --git a/3507/CH11/EX11.8/Ex11_8.sce b/3507/CH11/EX11.8/Ex11_8.sce
new file mode 100644
index 000000000..93fd88c30
--- /dev/null
+++ b/3507/CH11/EX11.8/Ex11_8.sce
@@ -0,0 +1,15 @@
+//chapter11
+//example11.8
+//page209
+
+alpha1=0.9
+alpha2=0.98
+alpha3=0.99
+
+beta1=alpha1/(1-alpha1)
+beta2=alpha2/(1-alpha2)
+beta3=alpha3/(1-alpha3)
+
+printf("for alpha=0.9, beta=%.1f \n",beta1)
+printf("for alpha=0.98, beta=%.1f \n",beta2)
+printf("for alpha=0.99, beta=%.1f \n",beta3)
diff --git a/3507/CH11/EX11.9/Ex11_9.sce b/3507/CH11/EX11.9/Ex11_9.sce
new file mode 100644
index 000000000..0da9b7b3c
--- /dev/null
+++ b/3507/CH11/EX11.9/Ex11_9.sce
@@ -0,0 +1,12 @@
+//chapter11
+//example11.9
+//page210
+
+gain_beta=50
+Ib=20d-3 // mA
+
+// since gain_beta = Ic/Ib we get
+Ic=gain_beta*Ib
+Ie=Ic+Ib
+
+printf("emitter current = %.3f mA \n",Ie)