summaryrefslogtreecommitdiff
path: root/226/CH6
diff options
context:
space:
mode:
Diffstat (limited to '226/CH6')
-rwxr-xr-x226/CH6/EX6.1/example1_sce.sce12
-rwxr-xr-x226/CH6/EX6.10/example10_sce.sce14
-rwxr-xr-x226/CH6/EX6.11/example11_sce.sce10
-rwxr-xr-x226/CH6/EX6.12/example12_sce.sce20
-rwxr-xr-x226/CH6/EX6.13/example13_sce.sce16
-rwxr-xr-x226/CH6/EX6.2/example2_sce.sce22
-rwxr-xr-x226/CH6/EX6.3/example3_sce.sce14
-rwxr-xr-x226/CH6/EX6.4/example4_sce.sce9
-rwxr-xr-x226/CH6/EX6.5/example5_sce.sce12
-rwxr-xr-x226/CH6/EX6.6/example6_sce.sce14
-rwxr-xr-x226/CH6/EX6.7/example7_sce.sce10
-rwxr-xr-x226/CH6/EX6.8/example8_sce.sce14
-rwxr-xr-x226/CH6/EX6.9/example9_sce.sce18
13 files changed, 185 insertions, 0 deletions
diff --git a/226/CH6/EX6.1/example1_sce.sce b/226/CH6/EX6.1/example1_sce.sce
new file mode 100755
index 000000000..521f9d11b
--- /dev/null
+++ b/226/CH6/EX6.1/example1_sce.sce
@@ -0,0 +1,12 @@
+//chapter 6
+//example 6.1
+//page 240
+printf("\n")
+printf("given")
+Vcc=12;R2=15*10^3;R1=33*10^3;rs=600;
+disp("with no signal source")
+Vb=(Vcc*R2)/(R1+R2);
+printf(" base bais voltage when no signal source is present %3.2fV\n",Vb)
+disp(" signal source directly connected")
+Vb=(Vcc*((rs*R2)/(rs+R2))/(R1+((rs*R2)/(rs+R2))));
+printf("base bais voltage is %3.2fV\n",Vb) \ No newline at end of file
diff --git a/226/CH6/EX6.10/example10_sce.sce b/226/CH6/EX6.10/example10_sce.sce
new file mode 100755
index 000000000..8dbb5ff0e
--- /dev/null
+++ b/226/CH6/EX6.10/example10_sce.sce
@@ -0,0 +1,14 @@
+//chapter 6
+//example 6.10
+//page 273
+printf("\n")
+printf("given")
+hie=2.1*10^3;hfe=75;Re=4.7*10^3;Rc=3.9*10^3;Rl=82*10^3;
+hib=hie/(1+hfe)
+hfb=hfe/(1+hfe)
+Zi=(hib*Re)/(Re+hib);
+printf("input impedance is %3.2fohm\n",Zi)
+Zo=Rc;
+printf(" output impedance is %3.2fohm\n",Zo)
+Av=(hfb*((Rc*Rl)/(Rc+Rl)))/hib;
+printf(" voltage gain is %3.2f\n",Av) \ No newline at end of file
diff --git a/226/CH6/EX6.11/example11_sce.sce b/226/CH6/EX6.11/example11_sce.sce
new file mode 100755
index 000000000..469da0549
--- /dev/null
+++ b/226/CH6/EX6.11/example11_sce.sce
@@ -0,0 +1,10 @@
+//chapter 6
+//example 6.11
+//page 273
+printf("\n")
+printf("given")
+hib=27.6;hfb=.987;R1=68*10^3;R2=56*10^3;Re=4.7*10^3;Rc=3.9*10^3;Rl=82*10^3;
+Rb=(R1*R2)/(R1+R2);
+Ze=hib+Rb*(1-hfb)
+Zi=(Ze*Re)/(Ze+Re)
+Av=(hfb*((Rc*Rl)/(Rc+Rl)))/(hib+Rb*(1-hfb)) \ No newline at end of file
diff --git a/226/CH6/EX6.12/example12_sce.sce b/226/CH6/EX6.12/example12_sce.sce
new file mode 100755
index 000000000..ac86a6f30
--- /dev/null
+++ b/226/CH6/EX6.12/example12_sce.sce
@@ -0,0 +1,20 @@
+//chapter 6
+//example 6.12
+//page 277
+printf("\n")
+printf("given")
+Rc=5.6*10^3;Rl=33*10^3;rs=600;
+hfe=100;hie=1.5*10^3;vs=50*10^-3;
+disp(" CE circuit operation with vs at transistor base and Re bypassed")
+Av=(hfe*((Rc*Rl)/(Rc+Rl)))/hie
+Zb=hie
+Rb=(R1*R2)/(R1+R2);
+Zi=(Rb*Zb)/(Rb+Zb)
+vi=(vs*Zi)/(rs+Zi)
+vo=Av*vi
+disp("Cb circuit operation with vs at emitter and the base resistor bypassed")
+Av=(hfe*((Rc*Rl)/(Rc+Rl)))/hie
+Ze=hie/(1+hfe)
+Zi=(Ze*Re)/(Ze+Re)
+vi=(vs*Zi)/(rs+Zi)
+vo=Av*vi \ No newline at end of file
diff --git a/226/CH6/EX6.13/example13_sce.sce b/226/CH6/EX6.13/example13_sce.sce
new file mode 100755
index 000000000..8e9800511
--- /dev/null
+++ b/226/CH6/EX6.13/example13_sce.sce
@@ -0,0 +1,16 @@
+//chapter 6
+//example 6.13
+//page 279
+printf("\n")
+printf("given")
+Io=50*10^-9;Vbe=.7;Vbc=-10;Af=.995;Ar=.5;Vt=26*10^-3;n=2;Vd=-10;
+x=Vd/(n*Vt);
+Idc=(Io*((2.73^-x)-1))*10^9;
+Idc=Io*(-1)
+y=Vbe/(n*Vt);
+Ide=Io*((2.73^y)-1)
+I1=Af*Ide
+I2=Ar*Idc
+Ic=I1-Idc
+Ie=Ide-I2
+Ib=Ie-Ic \ No newline at end of file
diff --git a/226/CH6/EX6.2/example2_sce.sce b/226/CH6/EX6.2/example2_sce.sce
new file mode 100755
index 000000000..98874e62c
--- /dev/null
+++ b/226/CH6/EX6.2/example2_sce.sce
@@ -0,0 +1,22 @@
+//chapter 6
+//example 6.2
+//page 244
+printf("\n")
+printf("given")
+Rc=2.2*10^3;Re=2.7*10^3;R1=18*10^3;R2=8.2*10^3;Vbe=.7
+disp("drawing dc load line")
+Rldc=Rc+Re
+disp(" for Vce")
+Ic=0;Vcc=20;
+Vce=Vcc-Ic*(Rc+Re)
+disp("plot point A at")
+Ic=Vcc/(Rc+Re)
+disp("plot point B Ic=4.08mA and Vce=0")
+disp(" draw dc laod line through point A nad B")
+Vb=(Vcc*R2)/(R1+R2)
+Ve=Vb-Vbe
+Ic=Ve/Re
+Ie=Ic
+disp("drawing the ac load line")
+Rlac=Rc//when there is no external Rl
+Vce=Ic*Rc \ No newline at end of file
diff --git a/226/CH6/EX6.3/example3_sce.sce b/226/CH6/EX6.3/example3_sce.sce
new file mode 100755
index 000000000..766f304f8
--- /dev/null
+++ b/226/CH6/EX6.3/example3_sce.sce
@@ -0,0 +1,14 @@
+//chapter 6
+//example 6.2
+//page 251
+printf("\n")
+printf("given")
+Vce=4.5;Ib=40*10^-6;
+disp("from current characteristic at Vce=4.5V and Ib=40uA")
+Ic=4*10^-3;Ib=30*10^-6;
+hFE=Ic/Ib;
+printf(" the value of hFE is %d\n",hFE)
+disp("from output characteristic at Vce=4.5 and Ib=40uA")
+Ic=400*10^-3;Vce=6;
+hoe=(Ic/Vce)*10^6;
+printf("tye value of hoe is %3.2fuS\n",hoe) \ No newline at end of file
diff --git a/226/CH6/EX6.4/example4_sce.sce b/226/CH6/EX6.4/example4_sce.sce
new file mode 100755
index 000000000..a297bebe3
--- /dev/null
+++ b/226/CH6/EX6.4/example4_sce.sce
@@ -0,0 +1,9 @@
+//chapter 6
+//example 6.4
+//page 253
+printf("\n")
+printf("given")
+hfe=133;hoe=33.3*10^-6;
+hfc=1+hfe
+hob=hoe/(1+hfe)
+A=hfe/(1+hfe) \ No newline at end of file
diff --git a/226/CH6/EX6.5/example5_sce.sce b/226/CH6/EX6.5/example5_sce.sce
new file mode 100755
index 000000000..029f12f02
--- /dev/null
+++ b/226/CH6/EX6.5/example5_sce.sce
@@ -0,0 +1,12 @@
+//chapter 6
+//example 6.5
+//page 253
+printf("\n")
+printf("given")
+Ib=20*10^-6;Ic=1*10^-3;
+Ie=Ic;
+re=(26*10^-3)/Ie
+hfe=Ic/Ib
+hie=(1+hfe)*re
+r=hie
+B=hfe \ No newline at end of file
diff --git a/226/CH6/EX6.6/example6_sce.sce b/226/CH6/EX6.6/example6_sce.sce
new file mode 100755
index 000000000..e6de0c5a6
--- /dev/null
+++ b/226/CH6/EX6.6/example6_sce.sce
@@ -0,0 +1,14 @@
+//chapter 6
+//example 6.6
+//page 258
+printf("\n")
+printf("given")
+hie=2.1*10^3;hfe=75;hoe=1*10^-6;R1=68*10^3;R2=56*10^3;Rc=3.9*10^3;Rl=82*10^3;
+disp(" input impedance Zi=R1||R2||hie")
+Zi=((R1*R2*hie)/(R1+R2+hie))*10^-3;
+printf(" input impedance is %3.2fKohm\n",Zi)
+disp("output impedance is Zo=Rc||(1/hoe)")
+Zo=((Rc*(1/hoe))/(Rc+(1/hoe)))*10^-3;
+printf(" output impadance is %f3.2fKohm\n",Zo)
+Av=-(hfe*((Rc*Rl)/(Rc+Rl)))/hie;
+printf(" voltage gain is %d\n",Av) \ No newline at end of file
diff --git a/226/CH6/EX6.7/example7_sce.sce b/226/CH6/EX6.7/example7_sce.sce
new file mode 100755
index 000000000..938b52bf9
--- /dev/null
+++ b/226/CH6/EX6.7/example7_sce.sce
@@ -0,0 +1,10 @@
+//chapter 6
+//example 6.7
+//page 259
+printf("\n")
+printf("given")
+Ic=1.5*10^-3;Rc=4.7*10^3;Rl=56*10^3;
+Ie=Ic;
+re=(26*10^-3)/Ie
+Av=-(((Rc*Rl)/(Rc+Rl))/re);
+printf(" voltage gain is %d\n",Av) \ No newline at end of file
diff --git a/226/CH6/EX6.8/example8_sce.sce b/226/CH6/EX6.8/example8_sce.sce
new file mode 100755
index 000000000..a2206c9f9
--- /dev/null
+++ b/226/CH6/EX6.8/example8_sce.sce
@@ -0,0 +1,14 @@
+//chapter 6
+//example 6.8
+//page 262
+printf("\n")
+printf("given")
+hie=2.1*10^3;hfe=75;hoe=1*10^-6;Re=4.7*10^3;R1=68*10^3;R2=56*10^3;Rc=3.9*10^3;Rl=82*10^3;
+Zb=hie+Re*(1+hfe)
+disp(" input impedance is Zi=R1||R2||Zb")
+Zi=((R1*R2*Zb)/(R1+R2+Zb));
+printf(" input circuit resistance is %3.3fKohm\n",Zi)
+Zo=Rc
+
+Av=-hfe*((Rc*Rl)/(Rc+Rl))/(hie+Re*(1+hfe));
+printf("voltage gain is %3.3f\n",Av) \ No newline at end of file
diff --git a/226/CH6/EX6.9/example9_sce.sce b/226/CH6/EX6.9/example9_sce.sce
new file mode 100755
index 000000000..8d9280fc8
--- /dev/null
+++ b/226/CH6/EX6.9/example9_sce.sce
@@ -0,0 +1,18 @@
+//chapter 6
+//example 6.9
+//page 267
+printf("\n")
+printf("given")
+hie=2.1*10^3;hfe=75;R1=10*10^3;R2=10*10^3;Re=4.7*10^3;Rl=12*10^3;rs=1*10^3;
+disp(" Rl is not connected")
+hic=hie
+hfc=1+hfe
+Zb=hic+hfc*(Re)
+Zi=(R1*R2*Zb)/(R1+R2+Zb)
+Ze=(hic+(R1*R2*rs)/(R1+R2+rs))/hfc
+Z0=(Ze*Re)/(Ze+Re)
+disp(" when Rl is connected")
+Zb=hic+hfc*((Re*Rl)/(Re+Rl))
+Zi=(R1*R2*Zb)/(R1+R2+Zb)
+hib=hie/(1+hfe)
+Av=((Re*Rl)/(Re+Rl))/(hib+((Re*Rl)/(Re+Rl))) \ No newline at end of file