summaryrefslogtreecommitdiff
path: root/2753/CH4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2753/CH4
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 '2753/CH4')
-rwxr-xr-x2753/CH4/EX4.1/Ex4_1.sce17
-rwxr-xr-x2753/CH4/EX4.10/Ex4_10.sce10
-rwxr-xr-x2753/CH4/EX4.11/Ex4_11.sce26
-rwxr-xr-x2753/CH4/EX4.12/Ex4_12.sce15
-rwxr-xr-x2753/CH4/EX4.13/Ex4_13.sce27
-rwxr-xr-x2753/CH4/EX4.14/Ex4_14.sce19
-rwxr-xr-x2753/CH4/EX4.15/Ex4_15.sce20
-rwxr-xr-x2753/CH4/EX4.16/Ex4_16.sce13
-rwxr-xr-x2753/CH4/EX4.17/Ex4_17.sce20
-rwxr-xr-x2753/CH4/EX4.18/Ex4_18.sce11
-rwxr-xr-x2753/CH4/EX4.19/Ex4_19.sce15
-rwxr-xr-x2753/CH4/EX4.2/Ex4_2.sce14
-rwxr-xr-x2753/CH4/EX4.20/Ex4_20.sce15
-rwxr-xr-x2753/CH4/EX4.21/Ex4_21.sce16
-rwxr-xr-x2753/CH4/EX4.3/Ex4_3.sce15
-rwxr-xr-x2753/CH4/EX4.4/Ex4_4.sce15
-rwxr-xr-x2753/CH4/EX4.5/Ex4_5.sce14
-rwxr-xr-x2753/CH4/EX4.6/Ex4_6.sce16
-rwxr-xr-x2753/CH4/EX4.7/Ex4_7.sce16
-rwxr-xr-x2753/CH4/EX4.8/Ex4_8.sce16
-rwxr-xr-x2753/CH4/EX4.9/Ex4_9.sce10
21 files changed, 340 insertions, 0 deletions
diff --git a/2753/CH4/EX4.1/Ex4_1.sce b/2753/CH4/EX4.1/Ex4_1.sce
new file mode 100755
index 000000000..808d15bee
--- /dev/null
+++ b/2753/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,17 @@
+//Example 4.1:
+clc;
+clear;
+close;
+//given data :
+format('v',6)
+Rc=4.7;// in ohm
+Vcc=24;// in V
+Ic=1.5;//in mA
+//this is given as 15 mA in textbook which is wrong
+Vce=Vcc-(Ic*Rc*10^-3*10^3);//in V
+disp(Vce,"(i) Collector to emitter voltage,Vce(V) = ")
+Ic1=0;//in A
+Vce1=Vcc-Ic1*Rc;//in V
+format('v',4)
+disp(Vce1,"(ii) Collector to emitter voltage,Vce(V) = ")
+
diff --git a/2753/CH4/EX4.10/Ex4_10.sce b/2753/CH4/EX4.10/Ex4_10.sce
new file mode 100755
index 000000000..6dbab84c0
--- /dev/null
+++ b/2753/CH4/EX4.10/Ex4_10.sce
@@ -0,0 +1,10 @@
+//Example 4.10:
+clc;
+clear;
+close;
+//given data :
+format('v',6)
+Bv=12;//battery voltage in V
+P=2;// power in Watt
+Ic=(P/Bv)*10^3;
+disp(Ic,"The maximum collector current,Ic(mA) = ")
diff --git a/2753/CH4/EX4.11/Ex4_11.sce b/2753/CH4/EX4.11/Ex4_11.sce
new file mode 100755
index 000000000..3b7bbabb6
--- /dev/null
+++ b/2753/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,26 @@
+//Example 4.11:
+clc;
+clear;
+close;
+//given data :
+del_ic=1;// in mA
+del_ib=10;// in micro-A
+del_Vbe=0.02;// in V
+del_ib=10*10^-6;// in A
+Rc=2;// in k-ohm
+Rl=10;// in k-ohm
+Beta=del_ic/(del_ib*10^3);//
+format('v',5)
+disp(Beta,"Current gain,Beta = ")
+Ri=(del_Vbe/del_ib)*10^-3;
+format('v',4)
+disp(Ri,"Input impedence,Ri(k-ohm) = ")
+Rac=Rc*Rl/(Rc+Rl);
+format('v',5)
+disp(Rac,"Effective load,Rac(k-ohm) = ")
+Av=round(Beta*Rac/Ri);
+format('v',4)
+disp(Av,"Voltage gain,Av = ")
+Ap=Beta*Av;
+format('v',6)
+disp(Ap,"power gain,Ap = ")
diff --git a/2753/CH4/EX4.12/Ex4_12.sce b/2753/CH4/EX4.12/Ex4_12.sce
new file mode 100755
index 000000000..2e0d4743f
--- /dev/null
+++ b/2753/CH4/EX4.12/Ex4_12.sce
@@ -0,0 +1,15 @@
+//Example 4.12:
+clc;
+clear;
+close;
+//given data :
+Rc=10;// in k-ohm
+Rl=10;// in k-ohm
+Beta=100;
+Ri=2.5;
+Iv=2;// input voltage in mV
+Rac=Rc*Rl/(Rc+Rl);
+Av=round(Beta*Rac/Ri);
+Ov=Av*Iv*10^-3;
+format('v',4)
+disp(Ov,"Output voltage,(V) = ")
diff --git a/2753/CH4/EX4.13/Ex4_13.sce b/2753/CH4/EX4.13/Ex4_13.sce
new file mode 100755
index 000000000..9f886b728
--- /dev/null
+++ b/2753/CH4/EX4.13/Ex4_13.sce
@@ -0,0 +1,27 @@
+//Example 4.13:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+I=1;
+hfe=46;
+hoe=80*10^-6;// in mho
+hre=5.4*10^-4;
+hie=800;// in ohm
+RL=5*10^3;// in ohm
+Aie=hfe/(I+(hoe*RL));
+Zie=hie-(hre*RL*Aie);
+Ave=(Aie*RL)/Zie;
+Rg=500;// in ohm
+Zoe=((hie+Rg)/(hoe*(hie+Rg)-(hfe*hre)))/10^3;
+Ape=Aie*Ave;
+disp(Aie,"Current gain,Aie = ")
+format('v',6)
+disp(Zie,"Input resistance,Zie(ohm) = ")
+disp(Ave,"Voltage gain,Ave = ")
+format('v',5)
+disp(Zoe,"Output resistance,Zoe(k-ohm) = ")
+format('v',7)
+disp(Ape,"Power gain,Ape = ")
+//voltage gain and power gain are calculated wrong in the textbook
diff --git a/2753/CH4/EX4.14/Ex4_14.sce b/2753/CH4/EX4.14/Ex4_14.sce
new file mode 100755
index 000000000..abf5b7006
--- /dev/null
+++ b/2753/CH4/EX4.14/Ex4_14.sce
@@ -0,0 +1,19 @@
+//Example 4.14:
+clc;
+clear;
+close;
+//given data :
+A=100;//gain without feedback
+Beta=1/25;//feed back ratio
+Af=(A/(1+(Beta*A)));//gain with feedback
+disp(Af,"(i) gain with feedback is ,=")
+ff=Beta*A;//feedback factor
+disp(ff,"feedback factor is,=")
+vi=50;//mV
+Vo=Af*vi*10^-3;//in V
+disp(Vo,"output voltage is ,(V)=")
+fv=Beta*Vo;//in V
+format('v',5)
+disp(fv,"feedback voltage is ,(V)=")
+vin=vi*(1+Beta*A);//mV
+disp(vin,"new increased input voltage is ,(mV)=")
diff --git a/2753/CH4/EX4.15/Ex4_15.sce b/2753/CH4/EX4.15/Ex4_15.sce
new file mode 100755
index 000000000..7cb720b36
--- /dev/null
+++ b/2753/CH4/EX4.15/Ex4_15.sce
@@ -0,0 +1,20 @@
+//Example 4.15:
+clc;
+clear;
+close;
+//given data :
+A=1000;//gain without feedback
+fctr=0.40;//gain reduction factor
+Af=A-fctr*A;//gain with feedback
+Beta=((A/Af)-1)/A;//feed back ratio
+A2=800 ;//redued gain
+Af2=((A2)/(1+(Beta*A2)));//
+format('v',6)
+disp(Af2,"(i) voltage gain is ,=")
+prfb= ((A-A2)/A)*100;//percentage reduction without feedback
+format('v',4)
+disp(prfb,"(ii) percentage reduction without feedback is,(%)=")
+prwfb= ((Af-Af2)/Af)*100;//percentage reduction without feedback
+format('v',6)
+disp(prwfb,"percentage reduction with feedback is,(%)=")
+
diff --git a/2753/CH4/EX4.16/Ex4_16.sce b/2753/CH4/EX4.16/Ex4_16.sce
new file mode 100755
index 000000000..1c6845a6c
--- /dev/null
+++ b/2753/CH4/EX4.16/Ex4_16.sce
@@ -0,0 +1,13 @@
+//Example 4.16:
+clc;
+clear;
+close;
+//given data :
+A=200;//gain without feedback
+Beta=0.25;//feed back ratio
+gc=10;//percent gain change
+dA=gc/100;//
+dAf= ((1/(1+Beta*A)))*dA;//
+format('v',7)
+disp(dAf,"small change in gain is,=")
+
diff --git a/2753/CH4/EX4.17/Ex4_17.sce b/2753/CH4/EX4.17/Ex4_17.sce
new file mode 100755
index 000000000..babda515c
--- /dev/null
+++ b/2753/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,20 @@
+//Example 4.17:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+A=200;//gain without feedback
+Beta=0.05;//feed back ratio
+Af=(A/(1+(Beta*A)));//gain with feedback
+disp(Af," gain with negative feedback is ,=")
+Dn=10;//percentage distortion
+format('v',6)
+Dn1=(Dn/(1+A*Beta));//percentage Distortion with negative feedback
+ff=Beta*A;//feedback factor
+vo=0.5;//initial output voltage
+vi=A*vo;//in V
+vin=vi/Af;//in V
+disp(Dn1,"percentage Distortion with negative feedback is ,(%)=")
+disp(vin,"new input voltage is ,(V)=")
+//gain and input voltage are calculated wrong in the textbook
diff --git a/2753/CH4/EX4.18/Ex4_18.sce b/2753/CH4/EX4.18/Ex4_18.sce
new file mode 100755
index 000000000..b2f86f99f
--- /dev/null
+++ b/2753/CH4/EX4.18/Ex4_18.sce
@@ -0,0 +1,11 @@
+//Example 4.18:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+A=50;//gain without feedback
+Af=10;//gain with feedback
+Beta=(((A/Af)-1)/A)*100;//feed back ratio
+disp(Beta," percentage of feedback is ,(%)=")
+
diff --git a/2753/CH4/EX4.19/Ex4_19.sce b/2753/CH4/EX4.19/Ex4_19.sce
new file mode 100755
index 000000000..9bc4ad968
--- /dev/null
+++ b/2753/CH4/EX4.19/Ex4_19.sce
@@ -0,0 +1,15 @@
+//Example 4.19:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+Bw=200;//bandwidth in kHz
+vg=40;//dB
+fb=5;//percentage negetive feedback
+A=40;//gain without feedback
+Beta=fb/100;//feed back ratio
+Af=(A/(1+(Beta*A)));//gain with feedback
+Bwf= (A*Bw)/Af;//Bandwidth with feedback
+disp(Bwf," new band-width is ,(kHz)=")
+
diff --git a/2753/CH4/EX4.2/Ex4_2.sce b/2753/CH4/EX4.2/Ex4_2.sce
new file mode 100755
index 000000000..6ccdd2d92
--- /dev/null
+++ b/2753/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,14 @@
+//Example 4.2:
+clc;
+clear;
+close;
+//given data :
+Beta=100;
+Rb=200*10^3;// in ohm
+Rc=1*10^3;// in ohm
+Vcc=10;// in V
+Ib=Vcc/Rb;// in A
+Ic=Beta*Ib;//in A
+Vce=Vcc-(Ic*Rc);
+format('v',4)
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")
diff --git a/2753/CH4/EX4.20/Ex4_20.sce b/2753/CH4/EX4.20/Ex4_20.sce
new file mode 100755
index 000000000..9e0844cca
--- /dev/null
+++ b/2753/CH4/EX4.20/Ex4_20.sce
@@ -0,0 +1,15 @@
+//Example 4.20:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+A=50;//gain without feedback
+Af=25;//gain with feedback
+Beta=(((A/Af)-1)/A);//feed back ratio
+Ad=40;//new gain after ageing
+Af1=(Ad/(1+(Beta*Ad)));//new gain with feedback
+df=Af-Af1;// reduction in gain
+pdf= (df/Af)*100;//percentage reduction in gain
+disp(pdf," percentage reduction in gain is ,(%)=")
+
diff --git a/2753/CH4/EX4.21/Ex4_21.sce b/2753/CH4/EX4.21/Ex4_21.sce
new file mode 100755
index 000000000..48ee5d995
--- /dev/null
+++ b/2753/CH4/EX4.21/Ex4_21.sce
@@ -0,0 +1,16 @@
+//Example 4.21:
+clc;
+clear;
+close;
+//given data :
+format('v',5)
+Af=100;//gain with feeback
+vi=50;//in mV
+vi1=60;//in mV
+AAf=vi1/vi;//
+A=AAf*Af;//
+Beta=(((A/Af)-1)/A);//feed back ratio
+disp(A,"Av is ,=")
+format('v',8)
+disp(Beta," feedback factor is,=")
+
diff --git a/2753/CH4/EX4.3/Ex4_3.sce b/2753/CH4/EX4.3/Ex4_3.sce
new file mode 100755
index 000000000..91ad91e3f
--- /dev/null
+++ b/2753/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,15 @@
+//Example 4.3:
+clc;
+clear;
+close;
+//given data :
+format('v',6)
+Vcc=20;// in V
+Vbe=0.7;// in V
+Rc=2;//in kilo-ohm
+Icsat= Vcc/Rc;//in mA
+Beta=200;//
+Ib=(Icsat/Beta)*10^3;//in micro-A
+Rb=((Vcc-Vbe)/(Ib))*10^3;//in kilo-ohm
+disp("Rb < "+string(Rb)+" kilo-ohm")
+
diff --git a/2753/CH4/EX4.4/Ex4_4.sce b/2753/CH4/EX4.4/Ex4_4.sce
new file mode 100755
index 000000000..c97dce173
--- /dev/null
+++ b/2753/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,15 @@
+//Example 4.4:
+clc;
+clear;
+close;
+//given data :
+Vcc=15;// in V
+Rb=200;// in k-ohm
+Rc=2;// in k-ohm
+Beta=50;
+Ib=(Vcc/(Rb*10^3+(Beta*Rc*10^3)))*10^6;//in micro-A
+Ic=Beta*Ib*10^-3;//in mA
+Vce=Vcc-(Ic*10^-3*(Rc*10^3));
+format('v',4)
+disp(Ic,"collector current,Ic(mA) = ")
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")
diff --git a/2753/CH4/EX4.5/Ex4_5.sce b/2753/CH4/EX4.5/Ex4_5.sce
new file mode 100755
index 000000000..7ab9f1353
--- /dev/null
+++ b/2753/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,14 @@
+//Example 4.5:
+clc;
+clear;
+close;
+//given data :
+Vcc=15;// in V
+Vce=6;// in V
+Rc=3*10^3;// in ohm
+Beta=50;
+Ic=(Vcc-Vce)/Rc;
+Ib=Ic/Beta;
+Rb=((Vcc/Ib)-(Beta*Rc))*10^-3;
+format('v',5)
+disp(Rb,"The value of resistoe,Rb(k-ohm) = ")
diff --git a/2753/CH4/EX4.6/Ex4_6.sce b/2753/CH4/EX4.6/Ex4_6.sce
new file mode 100755
index 000000000..d6cef5220
--- /dev/null
+++ b/2753/CH4/EX4.6/Ex4_6.sce
@@ -0,0 +1,16 @@
+//Example 4.6:
+clc;
+clear;
+close;
+//given data :
+Vcc=12;// in V
+Rb1=70;// in k-ohm
+Rb2=70;// in k-ohm
+Beta=50;
+Rc=2;// in k-ohm
+Ib=Vcc/((Rb1+Rb2+(Beta*Rc))*10^3);
+Ic=Beta*Ib*10^3;
+Vce=Vcc-(Ic*Rc);
+format('v',4)
+disp(Ic,"collector current,Ic(mA) = ")
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")
diff --git a/2753/CH4/EX4.7/Ex4_7.sce b/2753/CH4/EX4.7/Ex4_7.sce
new file mode 100755
index 000000000..401dda17f
--- /dev/null
+++ b/2753/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,16 @@
+//Example 4.7:
+clc;
+clear;
+close;
+//given data :
+Vcc=9;// in V
+Rb=50;// in k-ohm
+Rc=250;// in ohm
+Re=500;// in ohm
+Beta=80;
+Ib=Vcc/(Rb*10^3+(Beta*Re));
+Ic=Beta*Ib*10^3;
+Vce=Vcc-(Ic*10^-3*(Rc+Re));
+format('v',3)
+disp(Ic,"collector current,Ic(mA) = ")
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")
diff --git a/2753/CH4/EX4.8/Ex4_8.sce b/2753/CH4/EX4.8/Ex4_8.sce
new file mode 100755
index 000000000..a11c4bc64
--- /dev/null
+++ b/2753/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,16 @@
+//Example 4.8:
+clc;
+clear;
+close;
+//given data :
+R2=4;// in k-ohm
+R1=40;// in k-ohm
+Vcc=22;// in V
+Rc=10;// in k-ohm
+Re=1.5;// in k-ohm
+Vbe=0.5;// in V
+Voc=R2*10^3*Vcc/((R1+R2)*10^3);
+Ic=(Voc-Vbe)/(Re*10^3);
+Vce=Vcc-(Rc+Re)*Ic*10^3;
+format('v',5)
+disp(Vce,"Collector to emitter voltage,Vce(V) = ")
diff --git a/2753/CH4/EX4.9/Ex4_9.sce b/2753/CH4/EX4.9/Ex4_9.sce
new file mode 100755
index 000000000..eb81a97a7
--- /dev/null
+++ b/2753/CH4/EX4.9/Ex4_9.sce
@@ -0,0 +1,10 @@
+//Example 4.9:
+clc;
+clear;
+close;
+//given data :
+Bv=12;//battery voltage in V
+Cl=6;//collector load in k-ohm
+CC=Bv/Cl;
+format('v',4)
+disp(CC,"Collector current,(mA) = ")