summaryrefslogtreecommitdiff
path: root/2534/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH6
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 '2534/CH6')
-rwxr-xr-x2534/CH6/EX6.1/Ex6_1.sce10
-rwxr-xr-x2534/CH6/EX6.10/Ex6_10.sce8
-rwxr-xr-x2534/CH6/EX6.11/Ex6_11.sce8
-rwxr-xr-x2534/CH6/EX6.12/Ex6_12.sce10
-rwxr-xr-x2534/CH6/EX6.13/Ex6_13.sce8
-rwxr-xr-x2534/CH6/EX6.2/Ex6_2.sce12
-rwxr-xr-x2534/CH6/EX6.3/Ex6_3.sce32
-rwxr-xr-x2534/CH6/EX6.4/Ex6_4.sce22
-rwxr-xr-x2534/CH6/EX6.5/Ex6_5.sce18
-rwxr-xr-x2534/CH6/EX6.6/Ex6_6.sce22
-rwxr-xr-x2534/CH6/EX6.7/Ex6_7.sce32
-rwxr-xr-x2534/CH6/EX6.8/Ex6_8.sce21
-rwxr-xr-x2534/CH6/EX6.9/Ex6_9.sce16
13 files changed, 219 insertions, 0 deletions
diff --git a/2534/CH6/EX6.1/Ex6_1.sce b/2534/CH6/EX6.1/Ex6_1.sce
new file mode 100755
index 000000000..8d78fb951
--- /dev/null
+++ b/2534/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,10 @@
+//Ex6_1
+clc
+IB = 40*10^-6
+IC = 3*10^-3
+beta = IC/IB
+alpha = beta/(1+beta)
+disp("IB = "+string(IB)+"A")//base current
+disp("IC = "+string(IC)+"A")//collector current
+disp("beta = IC/IB = "+string(beta))//current gain in CE configuration
+disp("alpha = beta/(1+beta) = "+string(alpha))//current gain in CB configuration
diff --git a/2534/CH6/EX6.10/Ex6_10.sce b/2534/CH6/EX6.10/Ex6_10.sce
new file mode 100755
index 000000000..8a91fdd92
--- /dev/null
+++ b/2534/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,8 @@
+//Ex6_10
+clc
+ic = 2.5*10^-3
+ib = 50*10^-6
+disp("ib = "+string(ib)+"A")//base current
+disp("ic = "+string(ic)+"A")//collector current
+beta = ic/ib
+disp("beta = ic/ib = "+string(beta))//current gain
diff --git a/2534/CH6/EX6.11/Ex6_11.sce b/2534/CH6/EX6.11/Ex6_11.sce
new file mode 100755
index 000000000..23072032c
--- /dev/null
+++ b/2534/CH6/EX6.11/Ex6_11.sce
@@ -0,0 +1,8 @@
+//Ex6_11
+clc
+ic = 3*10^-3
+ib = 3.08*10^-3
+disp("ib = "+string(ib)+"A")//base current
+disp("ic = "+string(ic)+"A")//collector current
+alpha = ic/ib
+disp("alpha = ie/ib = ic/ib = "+string(alpha))//current gain, assuming ie = ic
diff --git a/2534/CH6/EX6.12/Ex6_12.sce b/2534/CH6/EX6.12/Ex6_12.sce
new file mode 100755
index 000000000..49bf49bef
--- /dev/null
+++ b/2534/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,10 @@
+//Ex6_12
+clc
+//given, collector voltage swings between 11V to 4V
+//thus,
+vc = 11-4
+disp("vc = 11 - 4 = "+string(vc)+"V")//PEAK-to-PEAK collector voltage
+//given, collector current swings between 5mA to 1.4mA
+//thus,
+ic = (5 - 1.4)*10^-3
+disp("ic = 5m - 1.4m = "+string(ic)+"A")//PEAK-to-PEAK collector current
diff --git a/2534/CH6/EX6.13/Ex6_13.sce b/2534/CH6/EX6.13/Ex6_13.sce
new file mode 100755
index 000000000..41d26317d
--- /dev/null
+++ b/2534/CH6/EX6.13/Ex6_13.sce
@@ -0,0 +1,8 @@
+//Ex6_13
+clc
+ic = 4*10^-3
+ib = 80*10^-6
+disp("ib = "+string(ib)+"A")//base current
+disp("ic = "+string(ic)+"A")//collector current
+Ai = ic/ib
+disp("Ai = ic/ib = "+string(Ai))//current gain in CE amplifier
diff --git a/2534/CH6/EX6.2/Ex6_2.sce b/2534/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..25852e268
--- /dev/null
+++ b/2534/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,12 @@
+//Ex6_2
+clc
+IE = 1.2*10^-3
+beta = 60
+alpha = beta/(1+beta)
+disp("beta = "+string(beta))//current gain in CE configuration
+disp("alpha = beta/(1+beta) = "+string(alpha))//current gain in CB configuraion
+disp("IE = "+string(IE)+"A")//emitter current
+IB = IE/(beta+1)
+IC = beta*IB
+disp("IB = IE/(beta+1) = "+string(IB)+"A")//base current
+disp("IC = beta*IB = "+string(IC)+"A")//collector current
diff --git a/2534/CH6/EX6.3/Ex6_3.sce b/2534/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..dba690745
--- /dev/null
+++ b/2534/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,32 @@
+//Ex6_3
+clc
+alpha = 0.98
+VBE = 0.7
+IE = -2*10^-3
+Re = 100
+RL = 3.3*10^3
+disp("alpha = "+string(alpha))//current gain
+disp("VBE = "+string(VBE)+"V")//voltage across base-emitter
+disp("IE = "+string(IE)+"A")//emitter current
+disp("Re = "+string(Re)+"ohm")//emitter resistance
+disp("RL = "+string(RL)+"ohm")//load resistance
+//now according to circuit given for the question in the textbook
+IC = -alpha * IE
+disp("IC = -alpha*IE = "+string(IC)+"A")//collector current
+IB = -IC - IE
+disp("IB = -IC - IE = "+string(IB)+"A")//base current
+VBN = VBE+(abs(IE)*Re)
+disp("VBN = VBE+(IE*Re) = "+string(VBN)+"V")//voltage across base and ground(N)
+//ASSUMING... value for R1 = 30*10^3 ohm
+R1 = 30*10^3
+disp("R1 = "+string(R1)+"ohm")//resistancfe R1 as given in circuit
+I = VBN/R1
+disp("I = VBN/R1 = "+string(I)+"A")//current across resistance R1
+//ASSUMING... VCC = 9V
+VCC = 9//collector voltage
+disp("VCC = "+string(VCC)+"V")
+VCN = VCC - (RL*(IC+I+IB))
+disp("VCN = VCC - RL*(IC+I+IB)) = "+string(VCN)+"V")//voltage across collector and ground(N)
+// according to the given diagram for the question in the textbook, unknown resistance is,
+R = (VCN - VBN)/(I+IB)
+disp("R = (VCN - VBN)/(I+IB) = "+string(R)+"ohm")//unknown resistance
diff --git a/2534/CH6/EX6.4/Ex6_4.sce b/2534/CH6/EX6.4/Ex6_4.sce
new file mode 100755
index 000000000..28fc9bc2d
--- /dev/null
+++ b/2534/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,22 @@
+//Ex6_4
+clc
+RC = 2.3*10^3
+Re = 1*10^3
+VCC = 12
+VCE = 5
+VBE = 0.7
+beta = 50
+disp("RC = "+string(RC)+"ohm")//collector resistance
+disp("Re = "+string(Re)+"ohm")//emitter resistance
+disp("VCC = "+string(VCC)+"V")//supply voltage
+disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
+disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
+disp("beta = "+string(beta))//current gain
+// according to the given circuit, we have
+IB = (VCC - VCE)/((beta+1)*[RC+Re])
+disp("IB = (VCC - VCE)/((beta+1)*[RC+Re]) = "+string(IB)+"A")//base current
+IC = beta*IB
+disp("IC = "+string(IC)+"A")//collector current
+//from the circuit we have,
+Rt = (VCE-VBE)/IB
+disp("Rt = (VCE - VBE)/IB = "+string(Rt)+"ohm")//resistance Rt as given in circuit
diff --git a/2534/CH6/EX6.5/Ex6_5.sce b/2534/CH6/EX6.5/Ex6_5.sce
new file mode 100755
index 000000000..fa46b80c9
--- /dev/null
+++ b/2534/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,18 @@
+//Ex6_5
+clc
+VBB = 1
+VCC = 12
+IC = 12*10^-3
+VCE = 4
+beta = 80
+VBE = 0.7
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("IC = "+string(IC)+"A")//collector current
+disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
+disp("beta = "+string(beta))//current gain
+disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
+IB = IC/beta
+disp("IB = IC/beta = "+string(IB)+"A")//base current
+RC = (VCC - VCE)/IC
+disp("RC = (VCC - VCE)/IC = "+string(int(RC))+"ohm")//collector resistance
diff --git a/2534/CH6/EX6.6/Ex6_6.sce b/2534/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..0f57448ec
--- /dev/null
+++ b/2534/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,22 @@
+//Ex6_6
+clc
+VCC = 9
+VBB = 3
+IC = 2*10^-3
+beta = 50
+VBE = 0.7
+VCE = 4
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("IC = "+string(IC)+"A")//collector current
+disp("beta = "+string(beta))//current gain
+disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
+disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
+IB = IC/beta
+disp("IB = IC/beta = "+string(IB)+"A")//base current
+RB = (VBB - VBE)/IB
+disp("RB = (VBB - VBE)/IB = "+string(RB)+"ohm")//base resistance according to the given in circuit
+
+
+// note: misprint in the question, author is asking for IB instead of beta, as beta is already provided.
+// note: calculation done in the textbook for the problem is wrong.
diff --git a/2534/CH6/EX6.7/Ex6_7.sce b/2534/CH6/EX6.7/Ex6_7.sce
new file mode 100755
index 000000000..c7e6b54b6
--- /dev/null
+++ b/2534/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,32 @@
+//Ex6_7
+clc
+VCC = 12
+VBB = 3
+IC = 12*10^-3
+VCE = 5.5
+beta = 100
+VBE = 0.7
+Re = 50
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("IC = "+string(IC)+"A")//collector current
+disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
+disp("beta = "+string(beta))//current gain
+disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
+disp("Re = "+string(Re)+"ohm")//emittter resistance
+IB = IC/beta
+disp("IB = IC/beta = "+string(IB)+"A")//base current
+//from base-emitter circuit;
+IE = IC+IB
+Rb = (VBB - VBE - (IE*Re))/IB
+disp("Rb = (VBB - VBE - IE*Re)/IB = "+string(Rb)+"ohm")//base resistance
+//from collector-emitter circuit, we have
+Rc = (VCC - VCE - (IE*Re))/(IC)
+disp("Rc = (VCC - VCE - (IE*Re))/IC = "+string(Rc)+"ohm")//collector resistance
+
+
+//NOTE : in textbook the notation used for base and emitter resistance in fig. and in calculation are different
+
+
+
+// note : calculation perform in the textbook is wrong for the above problem
diff --git a/2534/CH6/EX6.8/Ex6_8.sce b/2534/CH6/EX6.8/Ex6_8.sce
new file mode 100755
index 000000000..ba3cfcb2d
--- /dev/null
+++ b/2534/CH6/EX6.8/Ex6_8.sce
@@ -0,0 +1,21 @@
+//Ex6_8
+clc
+VBB = 10
+RB = 500*10^3
+VCC = 15
+RC = 1.2*10^3
+beta =100
+disp("beta = "+string(beta))//current gain
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("RB = "+string(RB)+"ohm")//resistance across base terminal
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("RC = "+string(RC)+"ohm")//resistance across collector terminal
+IB = VBB/RB
+disp("IB = VBB/RB = "+string(IB)+"A")//base current
+IC = beta*IB
+disp("IC = beta*IB = "+string(IC)+"A")//collector current
+VCE = VCC - (IC*RC)
+disp("VCE = VCC - IC*RC = "+string(VCE)+"V")//voltage across collector and emitter
+
+
+// the answer printed in the textbook for VCE is wrong.
diff --git a/2534/CH6/EX6.9/Ex6_9.sce b/2534/CH6/EX6.9/Ex6_9.sce
new file mode 100755
index 000000000..a83edeb06
--- /dev/null
+++ b/2534/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,16 @@
+//Ex6_9
+clc
+ic = 2*10^-3
+ie = ic// as base current is negligble
+VT = 25*10^-3
+re = VT/ie
+gm = ie/VT
+disp("ic = "+string(ic)+"A")//collector current
+disp("ie = "+string(ie)+"A")//emitter current with negligble base current
+disp("VT = "+string(VT)+"V")//voltage at room temperature
+disp("re = VT/ie = "+string(re)+"ohm")//emitter resistance
+disp("gm = ie/VT = "+string(gm)+"mho")//conductance
+rc = 100*10^3//slope of output characteristics
+disp("rc = "+string(rc)+"ohm")
+hoe = 1/rc
+disp("hoe = 1/rc = "+string(hoe)+"Mho")//output conductance