summaryrefslogtreecommitdiff
path: root/2045/CH5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2045/CH5
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 '2045/CH5')
-rwxr-xr-x2045/CH5/EX5.1/Ex5_1.pdfbin0 -> 12472 bytes
-rwxr-xr-x2045/CH5/EX5.1/Ex5_1.sce29
-rwxr-xr-x2045/CH5/EX5.10/Ex5_10.pdfbin0 -> 11210 bytes
-rwxr-xr-x2045/CH5/EX5.10/Ex5_10.sce11
-rwxr-xr-x2045/CH5/EX5.11/Ex5_11.pdfbin0 -> 11381 bytes
-rwxr-xr-x2045/CH5/EX5.11/Ex5_11.sce11
-rwxr-xr-x2045/CH5/EX5.12/Ex5_12.pdfbin0 -> 12872 bytes
-rwxr-xr-x2045/CH5/EX5.12/Ex5_12.sce29
-rwxr-xr-x2045/CH5/EX5.13/Ex5_13.pdfbin0 -> 11553 bytes
-rwxr-xr-x2045/CH5/EX5.13/Ex5_13.sce20
-rwxr-xr-x2045/CH5/EX5.14/Ex5_14.pdfbin0 -> 11315 bytes
-rwxr-xr-x2045/CH5/EX5.14/Ex5_14.sce11
-rwxr-xr-x2045/CH5/EX5.15/Ex5_15.pdfbin0 -> 12396 bytes
-rwxr-xr-x2045/CH5/EX5.15/Ex5_15.sce23
-rwxr-xr-x2045/CH5/EX5.16/Ex5_16.pdfbin0 -> 12437 bytes
-rwxr-xr-x2045/CH5/EX5.16/Ex5_16.sce19
-rwxr-xr-x2045/CH5/EX5.17/Ex5_17.pdfbin0 -> 11949 bytes
-rwxr-xr-x2045/CH5/EX5.17/Ex5_17.sce23
-rwxr-xr-x2045/CH5/EX5.18/Ex5_18.pdfbin0 -> 12590 bytes
-rwxr-xr-x2045/CH5/EX5.18/Ex5_18.sce41
-rwxr-xr-x2045/CH5/EX5.19/Ex5_19.pdfbin0 -> 10457 bytes
-rwxr-xr-x2045/CH5/EX5.19/Ex5_19.sce15
-rwxr-xr-x2045/CH5/EX5.2/Ex5_2.pdfbin0 -> 12140 bytes
-rwxr-xr-x2045/CH5/EX5.2/Ex5_2.sce15
-rwxr-xr-x2045/CH5/EX5.20/Ex5_20.pdfbin0 -> 12429 bytes
-rwxr-xr-x2045/CH5/EX5.20/Ex5_20.sce23
-rwxr-xr-x2045/CH5/EX5.21/Ex5_21.pdfbin0 -> 12749 bytes
-rwxr-xr-x2045/CH5/EX5.21/Ex5_21.sce29
-rwxr-xr-x2045/CH5/EX5.22/Ex5_22.pdfbin0 -> 10367 bytes
-rwxr-xr-x2045/CH5/EX5.22/Ex5_22.sce19
-rwxr-xr-x2045/CH5/EX5.23/Ex5_23.pdfbin0 -> 10670 bytes
-rwxr-xr-x2045/CH5/EX5.23/Ex5_23.sce15
-rwxr-xr-x2045/CH5/EX5.24/Ex5_24.pdfbin0 -> 11513 bytes
-rwxr-xr-x2045/CH5/EX5.24/Ex5_24.sce19
-rwxr-xr-x2045/CH5/EX5.25/Ex5_25.pdfbin0 -> 11555 bytes
-rwxr-xr-x2045/CH5/EX5.25/Ex5_25.sce15
-rwxr-xr-x2045/CH5/EX5.26/Ex5_26.pdfbin0 -> 11954 bytes
-rwxr-xr-x2045/CH5/EX5.26/Ex5_26.sce11
-rwxr-xr-x2045/CH5/EX5.27/Ex5_27.pdfbin0 -> 12614 bytes
-rwxr-xr-x2045/CH5/EX5.27/Ex5_27.sce15
-rwxr-xr-x2045/CH5/EX5.28/Ex5_28.pdfbin0 -> 12573 bytes
-rwxr-xr-x2045/CH5/EX5.28/Ex5_28.sce29
-rwxr-xr-x2045/CH5/EX5.29/Ex5_29.pdfbin0 -> 11159 bytes
-rwxr-xr-x2045/CH5/EX5.29/Ex5_29.sce19
-rwxr-xr-x2045/CH5/EX5.3/Ex5_3.pdfbin0 -> 12280 bytes
-rwxr-xr-x2045/CH5/EX5.3/Ex5_3.sce32
-rwxr-xr-x2045/CH5/EX5.30/Ex5_30.pdfbin0 -> 10586 bytes
-rwxr-xr-x2045/CH5/EX5.30/Ex5_30.sce15
-rwxr-xr-x2045/CH5/EX5.4/Ex5_4.pdfbin0 -> 11118 bytes
-rwxr-xr-x2045/CH5/EX5.4/Ex5_4.sce20
-rwxr-xr-x2045/CH5/EX5.5/Ex5_5.pdfbin0 -> 12172 bytes
-rwxr-xr-x2045/CH5/EX5.5/Ex5_5.sce11
-rwxr-xr-x2045/CH5/EX5.6/Ex5_6.pdfbin0 -> 10590 bytes
-rwxr-xr-x2045/CH5/EX5.6/Ex5_6.sce11
-rwxr-xr-x2045/CH5/EX5.7/Ex5_7.pdfbin0 -> 11303 bytes
-rwxr-xr-x2045/CH5/EX5.7/Ex5_7.sce23
-rwxr-xr-x2045/CH5/EX5.8/Ex5_8.pdfbin0 -> 11780 bytes
-rwxr-xr-x2045/CH5/EX5.8/Ex5_8.sce19
-rwxr-xr-x2045/CH5/EX5.9/Ex5_9.pdfbin0 -> 10923 bytes
-rwxr-xr-x2045/CH5/EX5.9/Ex5_9.sce11
60 files changed, 583 insertions, 0 deletions
diff --git a/2045/CH5/EX5.1/Ex5_1.pdf b/2045/CH5/EX5.1/Ex5_1.pdf
new file mode 100755
index 000000000..3dbfbce6c
--- /dev/null
+++ b/2045/CH5/EX5.1/Ex5_1.pdf
Binary files differ
diff --git a/2045/CH5/EX5.1/Ex5_1.sce b/2045/CH5/EX5.1/Ex5_1.sce
new file mode 100755
index 000000000..7a237b2c9
--- /dev/null
+++ b/2045/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,29 @@
+//pagenumber 283 example 1
+clear
+ic=1*10^-3;//ampere
+vcc=5;//volt
+colres=2*10^3;//ohm
+r1=1.4*10^3;//ohm
+re=100;//ohm
+beta1=100;
+rb=100;//ohm
+v1=0.026;
+c1=25*10^-6;//farad
+g1=ic/v1;
+freque=10*10^3;//hertz
+xc=1/(2*freque*3.14*c1);
+volgai=-beta1*colres/(r1+0.1*10^3+2.5*10^3);
+disp("voltage gain = "+string((volgai)));
+ri=(0.1+2.5)*10^3-imag((xc)*(1+beta1));
+disp("input resistance = "+string((ri))+"ohm");
+//ce removed
+volgai=-beta1*colres/((r1+0.1*10^3+2.5*10^3)+(101/1000)*10^3*100);
+disp("ce removed");
+disp("voltage gain = "+string((volgai)));
+ri=(0.1+2.5)*10^3+100*101/1000*10^3;
+disp("input resistance = "+string((ri))+"ohm");
+
+
+
+
+
diff --git a/2045/CH5/EX5.10/Ex5_10.pdf b/2045/CH5/EX5.10/Ex5_10.pdf
new file mode 100755
index 000000000..a502b60f6
--- /dev/null
+++ b/2045/CH5/EX5.10/Ex5_10.pdf
Binary files differ
diff --git a/2045/CH5/EX5.10/Ex5_10.sce b/2045/CH5/EX5.10/Ex5_10.sce
new file mode 100755
index 000000000..971e82683
--- /dev/null
+++ b/2045/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,11 @@
+//pagenumber 290 example 10
+clear
+re=1*10^3;//ohm
+hie=100;//ohm
+hfe=100;
+//voltage gain
+volgai=1/((1+(hie/(2*(1+hfe)*re))));
+//ri
+ri=(hie/2)+(1+hfe)*re;
+disp("voltage gain = "+string((volgai)));
+disp("input resistance = "+string((ri))+"ohm");
diff --git a/2045/CH5/EX5.11/Ex5_11.pdf b/2045/CH5/EX5.11/Ex5_11.pdf
new file mode 100755
index 000000000..ae5ace28d
--- /dev/null
+++ b/2045/CH5/EX5.11/Ex5_11.pdf
Binary files differ
diff --git a/2045/CH5/EX5.11/Ex5_11.sce b/2045/CH5/EX5.11/Ex5_11.sce
new file mode 100755
index 000000000..5f1fbadc4
--- /dev/null
+++ b/2045/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,11 @@
+//pagenumber 292 example 11
+clear
+beta1=90;
+re=2*10^3;//ohm
+rb=240*10^3;//ohm
+vcc=20;
+ib=(vcc-0.7)/(rb+(1+beta1)*(re));
+ic=beta1*ib;
+vce=vcc-(ib+ic)*re;
+disp("emitter current = "+string((ib+ic))+"ampere");
+disp("vce = "+string((vce))+"volt");
diff --git a/2045/CH5/EX5.12/Ex5_12.pdf b/2045/CH5/EX5.12/Ex5_12.pdf
new file mode 100755
index 000000000..f69d92a4d
--- /dev/null
+++ b/2045/CH5/EX5.12/Ex5_12.pdf
Binary files differ
diff --git a/2045/CH5/EX5.12/Ex5_12.sce b/2045/CH5/EX5.12/Ex5_12.sce
new file mode 100755
index 000000000..ad9c9c461
--- /dev/null
+++ b/2045/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,29 @@
+//pagenumber 292 example 12
+clear
+hfe=110;
+hie=1.6*10^3;//ohm
+hoe=20*10^-6;//ohm
+colres=4.7*10^3;//ohm
+hre=2*10^-4;
+r1=470*10^3;//ohm
+curgai=-hfe/(1+hoe*colres);
+ri=hie+hre*curgai*colres;
+volgai=curgai*colres/ri;
+y1=hoe-((hfe*hre)/(hie+1*10^3))
+z1=1/y1;
+disp("voltage gain = "+string((volgai)));
+disp("current gain = "+string((curgai)));
+disp("impedance = "+string((z1))+"ohm");
+r0=z1*colres/(z1+colres);
+curgai=-hfe;
+ri=hie;
+disp("parameters using approxmiate");
+volgai=curgai*(colres)/ri;
+disp("voltage gain = "+string((volgai)));//correction in the book
+disp("current gain = "+string((curgai)));
+disp("impedance = "+string((z1))+"ohm");
+
+
+
+
+
diff --git a/2045/CH5/EX5.13/Ex5_13.pdf b/2045/CH5/EX5.13/Ex5_13.pdf
new file mode 100755
index 000000000..f05aa84ca
--- /dev/null
+++ b/2045/CH5/EX5.13/Ex5_13.pdf
Binary files differ
diff --git a/2045/CH5/EX5.13/Ex5_13.sce b/2045/CH5/EX5.13/Ex5_13.sce
new file mode 100755
index 000000000..b44b153db
--- /dev/null
+++ b/2045/CH5/EX5.13/Ex5_13.sce
@@ -0,0 +1,20 @@
+//pagenumber 293 example 13
+clear
+re=1*10^3;//ohm
+hie=1000;//ohm
+hfe=99;
+//inptut resistance
+ri=hie+((1+hfe)*(hie+1+hfe*re));
+
+
+disp("input resistance = "+string((ri))+"ohm");//correction in the book
+//voltage gain
+volgai=((1+hfe)*(1+hfe)*re)/ri;
+disp("voltage gain = "+string((volgai)));
+
+
+//current gain
+curgai=-((1+hfe)*(1+hfe));
+
+
+disp("current gain = "+string((curgai)));
diff --git a/2045/CH5/EX5.14/Ex5_14.pdf b/2045/CH5/EX5.14/Ex5_14.pdf
new file mode 100755
index 000000000..7a0168032
--- /dev/null
+++ b/2045/CH5/EX5.14/Ex5_14.pdf
Binary files differ
diff --git a/2045/CH5/EX5.14/Ex5_14.sce b/2045/CH5/EX5.14/Ex5_14.sce
new file mode 100755
index 000000000..7552a146a
--- /dev/null
+++ b/2045/CH5/EX5.14/Ex5_14.sce
@@ -0,0 +1,11 @@
+//pagenumber 294 example 14
+clear
+hie=2*10^3;//ohm
+beta1=100;
+colres=5*10^3;//ohm
+volgai=beta1*colres/hie;
+disp("voltage gain = "+string((volgai))+"<180");
+disp("input impedance = "+string((hie))+"ohm");
+disp("current gain = "+string((beta1)));
+
+
diff --git a/2045/CH5/EX5.15/Ex5_15.pdf b/2045/CH5/EX5.15/Ex5_15.pdf
new file mode 100755
index 000000000..360d9c042
--- /dev/null
+++ b/2045/CH5/EX5.15/Ex5_15.pdf
Binary files differ
diff --git a/2045/CH5/EX5.15/Ex5_15.sce b/2045/CH5/EX5.15/Ex5_15.sce
new file mode 100755
index 000000000..2bb9e10ec
--- /dev/null
+++ b/2045/CH5/EX5.15/Ex5_15.sce
@@ -0,0 +1,23 @@
+//pagenumber 294 example 15
+clear
+colres=4.7*10^3;//ohm
+beta1=150;
+r1=12*10^3;//ohm
+vcc=15;//volt
+re=1.2*10^3;//ohm
+rac=colres*r1/(colres+r1);
+r=2*10^3;//ohm
+//voltage gain
+volgai=beta1*rac/r;
+disp("voltage gain = "+string((volgai)));
+r1=75*10^3;//ohm
+r2=7.5*10^3;//ohm
+//input impedance
+zin=(r1*r2)/(r1+r2);
+zin=zin*r/(zin+r);
+disp("input impedance = "+string((zin)));
+//coordinates
+vb=vcc*r2/(r1+r2);
+ie=vb/re;
+vce=vcc-((colres+re)*(ie));
+disp("coordinates ic = "+string((ie))+"ampere vce = "+string((vce))+"volt");
diff --git a/2045/CH5/EX5.16/Ex5_16.pdf b/2045/CH5/EX5.16/Ex5_16.pdf
new file mode 100755
index 000000000..5f30d36e3
--- /dev/null
+++ b/2045/CH5/EX5.16/Ex5_16.pdf
Binary files differ
diff --git a/2045/CH5/EX5.16/Ex5_16.sce b/2045/CH5/EX5.16/Ex5_16.sce
new file mode 100755
index 000000000..56fdff186
--- /dev/null
+++ b/2045/CH5/EX5.16/Ex5_16.sce
@@ -0,0 +1,19 @@
+//pagenumber 296 example 16
+clear
+r1=2000;//ohm
+r=900;//ohm
+hie=1200;//ohm
+hre=2*10^-4;
+hfe=60;
+hoe=25*10^-6;//ampere per volt
+curgai=(hfe)/(1+hoe*r1);
+disp("current gain = "+string((curgai)));
+ri=hie+(curgai*r1);
+disp("input impedance = "+string((ri))+"ohm");
+volgai=curgai*r1/ri;
+disp("voltage gain = "+string((volgai)));
+admita=1/ri;
+admita=hoe-(-hfe*hre)/(hie+r);
+r=1/admita;
+disp("output resistance = "+string((r))+"ohm");
+
diff --git a/2045/CH5/EX5.17/Ex5_17.pdf b/2045/CH5/EX5.17/Ex5_17.pdf
new file mode 100755
index 000000000..293b7bd61
--- /dev/null
+++ b/2045/CH5/EX5.17/Ex5_17.pdf
Binary files differ
diff --git a/2045/CH5/EX5.17/Ex5_17.sce b/2045/CH5/EX5.17/Ex5_17.sce
new file mode 100755
index 000000000..e5e64071c
--- /dev/null
+++ b/2045/CH5/EX5.17/Ex5_17.sce
@@ -0,0 +1,23 @@
+//pagenumber 296 example 17
+clear
+hfe=60;
+hie=500;//ohm
+ic=3*10^-3;//ampere
+zi=hie;
+rb=220*10^3;//ohm
+colres=5.1*10^3;//ohm
+z=colres;
+volgai=-hfe*colres/hie;
+curgai=-hfe;
+vcc=12;//volt
+ib=(vcc-0.6)/rb;
+ie=hfe*ib;
+re=0.026/ie;
+zi=hfe*re;
+z=colres;
+volgai=-colres/re;
+curgai=-hfe;
+disp("voltage gain = "+string((volgai)));
+disp("current gain = "+string((curgai)));
+disp("input impedance = "+string((zi))+"ohm");
+disp("output impedance = "+string((z))+"ohm");
diff --git a/2045/CH5/EX5.18/Ex5_18.pdf b/2045/CH5/EX5.18/Ex5_18.pdf
new file mode 100755
index 000000000..8eaf82ce9
--- /dev/null
+++ b/2045/CH5/EX5.18/Ex5_18.pdf
Binary files differ
diff --git a/2045/CH5/EX5.18/Ex5_18.sce b/2045/CH5/EX5.18/Ex5_18.sce
new file mode 100755
index 000000000..0c725eb4d
--- /dev/null
+++ b/2045/CH5/EX5.18/Ex5_18.sce
@@ -0,0 +1,41 @@
+//pagenumber 297 example 18
+clear
+hie=3.2*10^3;//ohm
+hfe=100;
+r=40*10^3;//ohm
+r1=4.7*10^3;//ohm
+colres=4*10^3;//ohm
+rb=r*r1/(r+r1);
+zi=hie*rb/(hie+rb);
+z=colres;
+re=1.2*10^3;//ohm
+volgai=-hfe*colres/hie;
+disp("input impedance = "+string((zi))+"ohm");
+disp("output impedance = "+string((z))+"ohm");
+disp("voltage gain = "+string((volgai)));
+curgai=-hfe*rb/(rb+hie);
+disp("current gain = "+string((curgai)));
+hie=833;
+//(1) load open
+vi=1;
+ib=vi/hie;
+volgai=hfe*ib*1.5*10^3;
+//load closed
+hoe=50;
+r2=2*10^3;//ohm
+ib=vi/(r2+hie);
+vb=1.682;
+ib=(vb-0.6)/(rb+(1+hfe)*(re));
+ic=hfe*ib;
+ie=ic+ib;
+re=0.026/ie;
+zi=rb*hfe*re/((rb)+(hfe*re));
+disp("parameters in re");
+disp("input impedance = "+string((zi))+"ohm");
+z=colres;
+disp("output impedance = "+string((z))+"ohm");
+volgai=colres/(-re);
+disp("voltage gain = "+string((volgai)));
+curgai=-hfe*rb/(rb+hfe*re);
+disp("current gain = "+string((curgai)));
+
diff --git a/2045/CH5/EX5.19/Ex5_19.pdf b/2045/CH5/EX5.19/Ex5_19.pdf
new file mode 100755
index 000000000..a13e019f9
--- /dev/null
+++ b/2045/CH5/EX5.19/Ex5_19.pdf
Binary files differ
diff --git a/2045/CH5/EX5.19/Ex5_19.sce b/2045/CH5/EX5.19/Ex5_19.sce
new file mode 100755
index 000000000..ed1b1cc7a
--- /dev/null
+++ b/2045/CH5/EX5.19/Ex5_19.sce
@@ -0,0 +1,15 @@
+//pagenumber 299 example 19
+clear
+hfe=120;
+hie=0.02;//ohm
+r1=5.8*10^3;//ohm
+r=27*10^3;//ohm
+colres=1.5*10^3;//ohm
+re=330*10^3;//ohm
+vcc=10;//volt
+vb=vcc*r1/(r1+r);
+rb=(r*r1)/(r+r1);
+ib=(vb-0.7)/(rb+((1+hfe)*re));
+volgai=-hfe*ib*2*10^3;
+disp("voltage gain = "+string((volgai)));//correction in the book
+
diff --git a/2045/CH5/EX5.2/Ex5_2.pdf b/2045/CH5/EX5.2/Ex5_2.pdf
new file mode 100755
index 000000000..3ce0bf897
--- /dev/null
+++ b/2045/CH5/EX5.2/Ex5_2.pdf
Binary files differ
diff --git a/2045/CH5/EX5.2/Ex5_2.sce b/2045/CH5/EX5.2/Ex5_2.sce
new file mode 100755
index 000000000..64696bad8
--- /dev/null
+++ b/2045/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,15 @@
+//pagenumber 285 example 2
+clear
+ic=1.3*10^-3;//ampere
+colres=2*10^3;//ohm
+re=500;//ohm
+v1=0.026;//volt
+beta1=100;
+vcc=15;//volt
+c1=10*10^-6;//farad
+ib=ic/beta1;
+ri=0.01/ib;
+volgai=beta1*colres*ib/0.01;
+disp("voltage gain = "+string((volgai))+"<180");
+disp("voltage gain reduced ce removed");
+disp("when cb is short circuited the voltage gain increased");
diff --git a/2045/CH5/EX5.20/Ex5_20.pdf b/2045/CH5/EX5.20/Ex5_20.pdf
new file mode 100755
index 000000000..2a0b11f74
--- /dev/null
+++ b/2045/CH5/EX5.20/Ex5_20.pdf
Binary files differ
diff --git a/2045/CH5/EX5.20/Ex5_20.sce b/2045/CH5/EX5.20/Ex5_20.sce
new file mode 100755
index 000000000..a37e96c4b
--- /dev/null
+++ b/2045/CH5/EX5.20/Ex5_20.sce
@@ -0,0 +1,23 @@
+//pagenumber 300 example 20
+clear
+freque=6*10^6;//hertz
+hfe=50;
+r1=500;//ohm
+g=0.04
+rbb=100;//ohm
+
+
+c1=10*10^-12;//farad
+r=1000;//ohm
+rbe=hfe/g;
+ce=g/(2*3.14*freque);
+c1=ce+c1*(1+g*r);
+hie=rbb+rbe;
+resist=(r1+rbb)*rbe/(r1+rbb+rbe);
+frequ2=1/(2*3.14*resist*c1);
+curgai=-hfe*r1/(r1+hie);
+volgai=(-hfe*r)/(r1+hie);
+q=volgai*frequ2;
+disp("upper frequency voltage gain = "+string(abs(q))+"hertz");//correction in the book
+q=curgai*frequ2;
+disp("upper current gain = "+string(abs(q))+"hertz");
diff --git a/2045/CH5/EX5.21/Ex5_21.pdf b/2045/CH5/EX5.21/Ex5_21.pdf
new file mode 100755
index 000000000..4b1abbda4
--- /dev/null
+++ b/2045/CH5/EX5.21/Ex5_21.pdf
Binary files differ
diff --git a/2045/CH5/EX5.21/Ex5_21.sce b/2045/CH5/EX5.21/Ex5_21.sce
new file mode 100755
index 000000000..4ed006780
--- /dev/null
+++ b/2045/CH5/EX5.21/Ex5_21.sce
@@ -0,0 +1,29 @@
+//pagenumber 301 example 21
+clear
+hie=1*10^3;//ohm
+hre=2*10^-4;
+hoe=25*10^-6;//ampere per volt
+hfe=50;
+colres=1*10^3;//ohm
+curgai=-hfe/(1+hoe*colres);
+disp("current gain = "+string((curgai)));
+ri=hie-hfe*hre/(hoe+1/colres);
+disp("input resistance = "+string((ri))+"ohm");
+volgai=curgai*colres/ri;
+disp("voltage gain = "+string((volgai)));
+y1=hoe-((hfe*hre)/(hie+800));
+r1=1/y1;
+disp("output resistance = "+string((r1))+"ohm");
+//approximate
+disp("approximate");
+curgai=-hfe;
+disp("current gain = "+string((curgai)));
+ri=hie;
+disp("input resistance = "+string((ri))+"ohm");
+volgai=-hfe*colres/hie;
+disp("voltage gain = "+string((volgai)));
+
+
+
+
+
diff --git a/2045/CH5/EX5.22/Ex5_22.pdf b/2045/CH5/EX5.22/Ex5_22.pdf
new file mode 100755
index 000000000..11795dad7
--- /dev/null
+++ b/2045/CH5/EX5.22/Ex5_22.pdf
Binary files differ
diff --git a/2045/CH5/EX5.22/Ex5_22.sce b/2045/CH5/EX5.22/Ex5_22.sce
new file mode 100755
index 000000000..2cd05503a
--- /dev/null
+++ b/2045/CH5/EX5.22/Ex5_22.sce
@@ -0,0 +1,19 @@
+//example 22
+clear
+rb1=7.5*10^3;//ohm
+rb2=6.8*10^3;//ohm
+
+rb3=3.3*10^3;//ohm
+re=1.3*10^3;//ohm
+colres=2.2*10^3;//ohm
+beta1=120;
+vcc=18;//volt
+vb1=rb3*vcc/(rb3+rb2+rb1);
+ie1=(vb1-0.7)/(re);
+re1=0.026/ie1;
+re2=0.026/ie1;
+volgai=colres/re2;
+disp("voltage gain = "+string((volgai)));
+
+
+
diff --git a/2045/CH5/EX5.23/Ex5_23.pdf b/2045/CH5/EX5.23/Ex5_23.pdf
new file mode 100755
index 000000000..ebd3cf4e7
--- /dev/null
+++ b/2045/CH5/EX5.23/Ex5_23.pdf
Binary files differ
diff --git a/2045/CH5/EX5.23/Ex5_23.sce b/2045/CH5/EX5.23/Ex5_23.sce
new file mode 100755
index 000000000..6bcf212cc
--- /dev/null
+++ b/2045/CH5/EX5.23/Ex5_23.sce
@@ -0,0 +1,15 @@
+//pagenumber 302 example 23
+clear
+vcc=5;//volt
+colres=250;//ohm
+v1=5;//volt
+rb=25*10^3;//ohm
+beta1=200;
+vbs=0.8;//volt
+vcon=0.3;//volt
+icon=(vcc-vcon)/colres;
+ibon=icon/beta1;
+ibs=(v1-vbs)/rb;
+ic=(vcc-0.2)/colres;
+beta1=ic/ibs;
+disp("forced beta = "+string((beta1)));
diff --git a/2045/CH5/EX5.24/Ex5_24.pdf b/2045/CH5/EX5.24/Ex5_24.pdf
new file mode 100755
index 000000000..c9d7d2c67
--- /dev/null
+++ b/2045/CH5/EX5.24/Ex5_24.pdf
Binary files differ
diff --git a/2045/CH5/EX5.24/Ex5_24.sce b/2045/CH5/EX5.24/Ex5_24.sce
new file mode 100755
index 000000000..1654d3404
--- /dev/null
+++ b/2045/CH5/EX5.24/Ex5_24.sce
@@ -0,0 +1,19 @@
+//pagenumber 303 example 24
+clear
+vb=0.6;//volt
+beta1=100;
+ic=1*10^-3;//ampere
+vce=2.5;//volt
+re=300;//ohm
+vcc=5;//volt
+ib=ic/beta1;
+ie=ic+ib;
+ve=ie*re;
+vce=vce+ve;
+r3=(vcc-vce)/ic;
+vb=ve+vb;
+r1=(vcc-vb)/(vb/(10*10^3)+(ib));
+disp("resistance r1 = "+string((r1))+"ohm");
+disp("resistance r3 = "+string((r3))+"ohm");
+
+
diff --git a/2045/CH5/EX5.25/Ex5_25.pdf b/2045/CH5/EX5.25/Ex5_25.pdf
new file mode 100755
index 000000000..39519d288
--- /dev/null
+++ b/2045/CH5/EX5.25/Ex5_25.pdf
Binary files differ
diff --git a/2045/CH5/EX5.25/Ex5_25.sce b/2045/CH5/EX5.25/Ex5_25.sce
new file mode 100755
index 000000000..4bfc969e6
--- /dev/null
+++ b/2045/CH5/EX5.25/Ex5_25.sce
@@ -0,0 +1,15 @@
+//pagenumber 304 example 25
+clear
+vce2=7.5;//volt
+vb=0.7;//volt
+beta1=200;
+v1=25;//volt
+r1=10*10^3;//ohm
+vcc=15;//volt
+i1=(vcc-vb)/r1;
+r=(vcc-vce2)/i1;
+z1=beta1*v1/i1;
+z=v1/i1;
+disp("input impedance q1 = "+string((z))+"ohm");//correction in the book
+disp("input impedance q2 = "+string((z1))+"ohm");
+
diff --git a/2045/CH5/EX5.26/Ex5_26.pdf b/2045/CH5/EX5.26/Ex5_26.pdf
new file mode 100755
index 000000000..c5a5926a2
--- /dev/null
+++ b/2045/CH5/EX5.26/Ex5_26.pdf
Binary files differ
diff --git a/2045/CH5/EX5.26/Ex5_26.sce b/2045/CH5/EX5.26/Ex5_26.sce
new file mode 100755
index 000000000..7f3118ef2
--- /dev/null
+++ b/2045/CH5/EX5.26/Ex5_26.sce
@@ -0,0 +1,11 @@
+//pagenumber 305 example 26
+clear
+beta1=99;
+r1=1*10^3;//ohm
+g=beta1/r1;
+r=r1*((r1+r1)/(100))/((r1+((r1+r1)/(100))));
+disp("make input = 0");
+disp("ground dc");
+
+
+disp("output resistance = "+string((r))+"ohm");
diff --git a/2045/CH5/EX5.27/Ex5_27.pdf b/2045/CH5/EX5.27/Ex5_27.pdf
new file mode 100755
index 000000000..cbc734101
--- /dev/null
+++ b/2045/CH5/EX5.27/Ex5_27.pdf
Binary files differ
diff --git a/2045/CH5/EX5.27/Ex5_27.sce b/2045/CH5/EX5.27/Ex5_27.sce
new file mode 100755
index 000000000..1ea8f4320
--- /dev/null
+++ b/2045/CH5/EX5.27/Ex5_27.sce
@@ -0,0 +1,15 @@
+//pagenumber 305 example 27
+clear
+ic=0.5*10^-3;//ampere
+rb=100*10^3;//ohm
+v1=0.026;//volt
+r1=50;//ohm
+colres=1*10^3;//ohm
+g=ic/v1;
+volgai=g*colres;
+disp("output resistance = "+string((colres))+"ohm");
+disp("input resistance very low");//not given in the book
+disp("voltage gain = "+string((volgai)));
+
+
+
diff --git a/2045/CH5/EX5.28/Ex5_28.pdf b/2045/CH5/EX5.28/Ex5_28.pdf
new file mode 100755
index 000000000..7c4c25c93
--- /dev/null
+++ b/2045/CH5/EX5.28/Ex5_28.pdf
Binary files differ
diff --git a/2045/CH5/EX5.28/Ex5_28.sce b/2045/CH5/EX5.28/Ex5_28.sce
new file mode 100755
index 000000000..fdc6a03c4
--- /dev/null
+++ b/2045/CH5/EX5.28/Ex5_28.sce
@@ -0,0 +1,29 @@
+//pagenumber 306 example 28
+clear
+re=4*10^3;//ohm
+r1=4*10^3;//ohm
+hie=1.1*10^3;//ohm
+resist=10*10^3;//ohm
+hfe=50;
+rb=10*10^3;//ohm
+r=1*10^3;//ohm
+colres=5*10^3;//ohm
+//(1) current gain
+ri=rb*hie/(rb+hie);
+curgai=(1/2.04)*((rb)/(rb+hie))*((-hfe*colres)/(colres+r1));
+disp("current gain = "+string((curgai)));
+//(2) voltage gain
+volgai=curgai*r1/r;
+disp("voltage gain = "+string((volgai)));
+//(3) tranconductance
+conduc=volgai/r1;
+disp("transconductance = "+string((conduc))+"ampere per volt");
+//transresistance
+resist=resist*volgai;
+disp("transresistance = "+string((resist))+"ohm");
+disp("input resistance = "+string((ri))+"ohm");
+r=(40*10^3*colres)/(40*10^3+colres);
+disp("output resistance = "+string((r))+"ohm");
+
+
+
diff --git a/2045/CH5/EX5.29/Ex5_29.pdf b/2045/CH5/EX5.29/Ex5_29.pdf
new file mode 100755
index 000000000..e05e987d9
--- /dev/null
+++ b/2045/CH5/EX5.29/Ex5_29.pdf
Binary files differ
diff --git a/2045/CH5/EX5.29/Ex5_29.sce b/2045/CH5/EX5.29/Ex5_29.sce
new file mode 100755
index 000000000..c8ea4d5af
--- /dev/null
+++ b/2045/CH5/EX5.29/Ex5_29.sce
@@ -0,0 +1,19 @@
+//pagenumber 307 example 29
+clear
+beta1=500;
+ib=20*10^-6;//ampere
+re=100;//ohm
+ic=beta1*ib;
+vc=ic*0.47*10^3;//voltage drop across collector resistance
+v1=(10-vc);
+vb=v1-0.6;
+rb=vc/ib;
+disp("base resistance = "+string((rb))+"ohm");
+ve=re*ic;
+disp("base resistance with re");
+b=0.6+0.1;
+rb=(v1-b)/ib;
+disp("base resistance = "+string((rb))+"ohm");
+
+
+
diff --git a/2045/CH5/EX5.3/Ex5_3.pdf b/2045/CH5/EX5.3/Ex5_3.pdf
new file mode 100755
index 000000000..de8409b75
--- /dev/null
+++ b/2045/CH5/EX5.3/Ex5_3.pdf
Binary files differ
diff --git a/2045/CH5/EX5.3/Ex5_3.sce b/2045/CH5/EX5.3/Ex5_3.sce
new file mode 100755
index 000000000..21b77554b
--- /dev/null
+++ b/2045/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,32 @@
+//pagenumber 286 example 3
+clear
+colres=4*10^3;//ohm
+r1=4*10^3;//ohm
+
+rb=20*10^3;//ohm
+r=1*10^3;//ohm
+hie=1.1*10^3;//ohm
+
+//current gain
+ri=rb*hie/(rb+hie);
+curgai=(1/2.04)*(rb/(rb+(hie)))*(-50*colres/(colres+(r1)));
+disp("current gain = "+string((curgai)));
+//voltage gain
+volgai=curgai*r1/r;
+disp("voltage gain = "+string((volgai)));
+//transconductance
+conduc=volgai/r1;
+disp("transconductance = "+string((conduc))+"ampere per volt");
+//transresistance
+resist=volgai*r;
+disp("transresistance = "+string((resist))+"ohm");
+//input resistance
+disp("input resistance = "+string((ri))+"ohm");
+//output resistance
+resist=40*10^3*colres/(40*10^3+colres);
+
+
+
+disp("output resistance = "+string((resist))+"ohm");
+
+
diff --git a/2045/CH5/EX5.30/Ex5_30.pdf b/2045/CH5/EX5.30/Ex5_30.pdf
new file mode 100755
index 000000000..91d430a23
--- /dev/null
+++ b/2045/CH5/EX5.30/Ex5_30.pdf
Binary files differ
diff --git a/2045/CH5/EX5.30/Ex5_30.sce b/2045/CH5/EX5.30/Ex5_30.sce
new file mode 100755
index 000000000..963d8f0ff
--- /dev/null
+++ b/2045/CH5/EX5.30/Ex5_30.sce
@@ -0,0 +1,15 @@
+//pagenumber 308 example 30
+clear
+beta1=100;
+re=100;//ohm
+vcc=10;//volt
+colres=1.5*10^3;//ohm
+r=100*10^3;//ohm
+r1=10*10^3;//ohm
+vb=vcc*r1/(r1+r);
+ie=0.3/re;
+ib=ie/beta1;
+disp("collector current = "+string((ie))+"ampere");
+disp("base current = "+string((ib))+"ampere");
+disp("emitter current = "+string((ie))+"ampere");
+
diff --git a/2045/CH5/EX5.4/Ex5_4.pdf b/2045/CH5/EX5.4/Ex5_4.pdf
new file mode 100755
index 000000000..20e7e70c5
--- /dev/null
+++ b/2045/CH5/EX5.4/Ex5_4.pdf
Binary files differ
diff --git a/2045/CH5/EX5.4/Ex5_4.sce b/2045/CH5/EX5.4/Ex5_4.sce
new file mode 100755
index 000000000..0afe20cb0
--- /dev/null
+++ b/2045/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,20 @@
+//pagenumber 287 example 4
+clear
+ib=20*10^-6;//ampere
+beta1=500;
+re=10;//ohm correction in the book
+r1=4.7*10^2;//ohm correction in the book
+ic=ib*beta1;
+voltag=ic*r1;//voltage drop at 4.7*10^3ohm
+vc=(10-voltag);
+rb=(vc-0.6)/ib;
+disp("rb = "+string((rb))+"ohm");
+//re included
+voltag=ic*re;//voltage drop at re
+vb=(0.6+voltag);
+rb=(vc-vb)/ib;
+disp("rb including emitter resistance = "+string((rb))+"ohm");
+
+
+
+
diff --git a/2045/CH5/EX5.5/Ex5_5.pdf b/2045/CH5/EX5.5/Ex5_5.pdf
new file mode 100755
index 000000000..325cbbb70
--- /dev/null
+++ b/2045/CH5/EX5.5/Ex5_5.pdf
Binary files differ
diff --git a/2045/CH5/EX5.5/Ex5_5.sce b/2045/CH5/EX5.5/Ex5_5.sce
new file mode 100755
index 000000000..119b119ad
--- /dev/null
+++ b/2045/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,11 @@
+//pagenumber 288 example 5
+clear
+av=12480;
+fedbac=8;//decibel
+volgai=20*log10(av);//gain without fedback
+volga1=volgai-fedbac;
+beta1=((av/5000)-1)/av;
+
+disp("voltage gain with fedback = "+string((volga1))+"decibel");
+disp("beta = "+string((beta1)));
+
diff --git a/2045/CH5/EX5.6/Ex5_6.pdf b/2045/CH5/EX5.6/Ex5_6.pdf
new file mode 100755
index 000000000..e3b6cccd9
--- /dev/null
+++ b/2045/CH5/EX5.6/Ex5_6.pdf
Binary files differ
diff --git a/2045/CH5/EX5.6/Ex5_6.sce b/2045/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..954c4d8fd
--- /dev/null
+++ b/2045/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,11 @@
+//pagenumber 288 example 6
+beta1=100;
+r1=1.5*10^3;//ohm
+vcc=10;//volt
+r=100*10^3;//ohm
+vb=((vcc)/(r+10*10^3))*10*10^3;
+ie=0.3/100;
+ib=ie/beta1;
+disp("collector current = "+string((ie))+"ampere");
+disp("emitter current = "+string((ie))+"ampere");
+disp("base current = "+string((ib))+"ampere");
diff --git a/2045/CH5/EX5.7/Ex5_7.pdf b/2045/CH5/EX5.7/Ex5_7.pdf
new file mode 100755
index 000000000..41ce2bbef
--- /dev/null
+++ b/2045/CH5/EX5.7/Ex5_7.pdf
Binary files differ
diff --git a/2045/CH5/EX5.7/Ex5_7.sce b/2045/CH5/EX5.7/Ex5_7.sce
new file mode 100755
index 000000000..929920700
--- /dev/null
+++ b/2045/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,23 @@
+//pagenumber 268 example 7
+clear
+hie=800;//ohm
+he=50*10^-6;//mho
+hfe=-55;
+z1=2*10^3;//ohm
+curgai=hfe/(1+he*z1);
+zi=hie
+volgai=curgai*z1/zi;
+powgai=volgai*curgai;
+//if hoe neglected
+av=137.5;
+hfe=-55;
+w=((av-abs(volgai))*100)/abs(volgai);
+ap=hfe*(-av);
+w1=((ap-powgai)*100)/powgai;
+disp("voltage gain = "+string((volgai)));
+
+
+disp("power gain = "+string((powgai)));
+disp("error without hoe = "+string((w)));
+disp("error = "+string((w1)));
+
diff --git a/2045/CH5/EX5.8/Ex5_8.pdf b/2045/CH5/EX5.8/Ex5_8.pdf
new file mode 100755
index 000000000..5ec49d557
--- /dev/null
+++ b/2045/CH5/EX5.8/Ex5_8.pdf
Binary files differ
diff --git a/2045/CH5/EX5.8/Ex5_8.sce b/2045/CH5/EX5.8/Ex5_8.sce
new file mode 100755
index 000000000..4089f0b56
--- /dev/null
+++ b/2045/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,19 @@
+//pagenumber 289 example 8
+clear
+rb=5*10^3;//ohm
+vcc=20;//volt
+r=10*10^3;//ohm
+colres=5*10^3;//ohm
+vb=vcc*r/(r+r);
+beta1=50;
+v1=0.6;//volt
+ib=(vb-v1)/(1+beta1*colres);
+ic=beta1*ib;
+vc=vcc-ic*1*10^3;
+vce=vc-rb*(ic+ib);
+disp("emitter current = "+string((ic+ib))+"ampere");
+disp("vc = "+string((vc))+"volt");
+disp("collector emitter voltage = "+string((vce))+"volt");
+
+
+
diff --git a/2045/CH5/EX5.9/Ex5_9.pdf b/2045/CH5/EX5.9/Ex5_9.pdf
new file mode 100755
index 000000000..8a7842f55
--- /dev/null
+++ b/2045/CH5/EX5.9/Ex5_9.pdf
Binary files differ
diff --git a/2045/CH5/EX5.9/Ex5_9.sce b/2045/CH5/EX5.9/Ex5_9.sce
new file mode 100755
index 000000000..12bca99f3
--- /dev/null
+++ b/2045/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,11 @@
+//pagenumber 290 example 9
+clear
+hib=25;//ohm
+hfb=0.999;
+hob=10^-6;//ohm
+colres=10*10^3;//ohm
+//voltage gain
+curgai=hfb/(1+hob*colres);
+zi=hib+hob*colres*curgai;
+volgai=curgai*colres/(zi);
+disp("voltage gain = "+string((volgai)));//correction in the book