summaryrefslogtreecommitdiff
path: root/1223/CH10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH10
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 '1223/CH10')
-rwxr-xr-x1223/CH10/EX10.1/Ex10_1.sce12
-rwxr-xr-x1223/CH10/EX10.10/Ex10_10.sce8
-rwxr-xr-x1223/CH10/EX10.11/Ex10_11.sce16
-rwxr-xr-x1223/CH10/EX10.12/Ex10_12.sce21
-rwxr-xr-x1223/CH10/EX10.2/Ex10_2.sce22
-rwxr-xr-x1223/CH10/EX10.4/Ex10_4.sce15
-rwxr-xr-x1223/CH10/EX10.5/Ex10_5.sce28
-rwxr-xr-x1223/CH10/EX10.6/Ex10_6.sce14
-rwxr-xr-x1223/CH10/EX10.7/Ex10_7.sce21
-rwxr-xr-x1223/CH10/EX10.8/Ex10_8.sce14
-rwxr-xr-x1223/CH10/EX10.9/Ex10_9.sce20
11 files changed, 191 insertions, 0 deletions
diff --git a/1223/CH10/EX10.1/Ex10_1.sce b/1223/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..4c174d2c6
--- /dev/null
+++ b/1223/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,12 @@
+clear;
+clc;
+//Example 10.1
+Vbe=0.6;//(V)
+b=100;
+V1=5;
+Io=200;//micro A
+Iref=Io*(1+2/b);
+printf('\nreference current=%.2f microA\n',Iref)
+Iref=Iref*0.001;//mA
+R1=(V1-Vbe)/Iref;
+printf('\nR1=%.2f KOhm\n',R1)
diff --git a/1223/CH10/EX10.10/Ex10_10.sce b/1223/CH10/EX10.10/Ex10_10.sce
new file mode 100755
index 000000000..a2d2fec50
--- /dev/null
+++ b/1223/CH10/EX10.10/Ex10_10.sce
@@ -0,0 +1,8 @@
+clear;
+clc;
+//Example 10.10
+Vt=0.026;
+Van=120;
+Vap=80;
+Av=-(1/Vt)/(1/Van+1/Vap);
+printf('\nsmall signal open circuit voltage gain=%.2f\n',Av)
diff --git a/1223/CH10/EX10.11/Ex10_11.sce b/1223/CH10/EX10.11/Ex10_11.sce
new file mode 100755
index 000000000..444556b97
--- /dev/null
+++ b/1223/CH10/EX10.11/Ex10_11.sce
@@ -0,0 +1,16 @@
+clear;
+clc;
+//Example 10.11
+Van=120;
+Vap=80;
+Vt=0.026;
+Ico=0.001;
+//Rl=infinity
+Av=-(1/Vt)/(1/Van+1/Vap);
+printf('\nsmall signal open circuit voltage gain=%.2f\n',Av)
+Rl=100;
+Av1=-(1/Vt)/(1/Van+1/Vap+1/Rl);
+printf('\nsmall signal open circuit voltage gain=%.2f\n',Av1)
+Rl=10;
+Av2=-(1/Vt)/(1/Van+1/Vap+1/Rl);
+printf('\nsmall signal open circuit voltage gain=%.2f\n',Av2)
diff --git a/1223/CH10/EX10.12/Ex10_12.sce b/1223/CH10/EX10.12/Ex10_12.sce
new file mode 100755
index 000000000..14e0efb72
--- /dev/null
+++ b/1223/CH10/EX10.12/Ex10_12.sce
@@ -0,0 +1,21 @@
+clear;
+clc;
+//Example 10.12
+//lambda=y
+yn=0.01;
+yp=0.01;
+Vtn=1;
+Kn=1;
+Iref=0.5;
+gm=2*sqrt(Kn*Iref);
+printf('\ntransconductance =%.2fmA/V\n',gm)
+go=yn*Iref;
+printf('\nsmall signal transistor conductance=%.4f mA/V\n',go)
+go2=go;
+//for Rl=infinity
+Av=-gm/(go+go2);
+printf('\nvoltage gain=%.2f \n',Av)
+Rl=100;//Kohm
+gl=0.01;
+Av=-gm/(go+gl+go2);
+printf('\nvoltage gain=%.2f \n',Av)
diff --git a/1223/CH10/EX10.2/Ex10_2.sce b/1223/CH10/EX10.2/Ex10_2.sce
new file mode 100755
index 000000000..92b033d02
--- /dev/null
+++ b/1223/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,22 @@
+clear;
+clc;
+//Example 10.2
+V1=5;
+V2=-5;
+R1=9.3;
+b=50;
+Vbe=0.7;
+Va=80;
+Iref=(V1-Vbe-V2)/R1;
+printf('\nreference current =%.3fmA\n',Iref)
+Io=Iref/(1+2/b);
+printf('\noutput current=%.2fmA\n',Io)
+ro=Va/Io;
+printf('\nsmall signal output resistance=%.2f KOhm\n',ro)
+//dIo=dVce2/ro
+Vce2=0.7;
+dIo=(V1-Vce2)/ro;
+printf('\nchange in load current=%.3f mA\n',dIo)
+x=dIo/Io;
+x=x*100;
+printf('\npercent change in output current=%.2f \n',x)
diff --git a/1223/CH10/EX10.4/Ex10_4.sce b/1223/CH10/EX10.4/Ex10_4.sce
new file mode 100755
index 000000000..f84c1ace2
--- /dev/null
+++ b/1223/CH10/EX10.4/Ex10_4.sce
@@ -0,0 +1,15 @@
+clear;
+clc;
+//Example 10.4
+Iref=1;
+Io=12*10^-3;
+V1=5;
+V2=-5;
+Vt=0.026;
+Vbe=0.7;
+R1=(V1-Vbe-V2)/Iref;
+printf('\nResistance R1 =%.2fKOhm\n',R1)
+Re=(Vt/Io)*log(Iref/Io);
+printf('\nResistance Re =%.2fKOhm\n',Re)
+Vbe=Io*Re;
+printf('\ndifference between two B-E voltages=%.2f V\n',Vbe)
diff --git a/1223/CH10/EX10.5/Ex10_5.sce b/1223/CH10/EX10.5/Ex10_5.sce
new file mode 100755
index 000000000..5c135fb1d
--- /dev/null
+++ b/1223/CH10/EX10.5/Ex10_5.sce
@@ -0,0 +1,28 @@
+clear;
+clc;
+//Example 10.5
+V1=5;
+V2=-5;
+R1=9.3;
+Re=9.580;
+Vt=0.026;
+b=100;
+Vbe=0.7;
+Va=80;
+Io=12;
+ro2=Va/Io;
+printf('\nsmall signal collector resistance=%.2f MOhm\n',ro2)
+Io=12*0.001;//mA
+gm2=Io/Vt;
+printf('\ntransconductance=%.3f mA/V\n',gm2)
+r=b*Vt/Io;
+printf('\nResistance=%.2f KOhm\n',r)
+Ro=ro2*(1+gm2*Re*r/(Re+r));
+printf('\noutput resistance=%.2f MOhm\n',Ro)
+dVc2=4;
+dIo=dVc2/Ro;
+printf('\nchange in load current=%.3f microA\n',dIo)
+Io=12;//micro A
+x=dIo/Io;
+x=x*100;
+printf('\npercent change in output current =%.4f\n',x)
diff --git a/1223/CH10/EX10.6/Ex10_6.sce b/1223/CH10/EX10.6/Ex10_6.sce
new file mode 100755
index 000000000..da5f5b74a
--- /dev/null
+++ b/1223/CH10/EX10.6/Ex10_6.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+//Example 10.6
+V1=5;
+V2=-5;
+Vbe=0.6;
+Veb=0.6;
+Iq2=400*10^-3;//mA
+Iref=200*10^-3;//mA
+Iq1=Iref;
+Iq3=Iq1;
+Iq4=600*10^-6;
+R1=(V1-Veb-Vbe-V2)/Iref;
+printf('\nResistance R1=%.f KOhm\n',R1)
diff --git a/1223/CH10/EX10.7/Ex10_7.sce b/1223/CH10/EX10.7/Ex10_7.sce
new file mode 100755
index 000000000..4e54e8eae
--- /dev/null
+++ b/1223/CH10/EX10.7/Ex10_7.sce
@@ -0,0 +1,21 @@
+clear;
+clc;
+//Example 10.7
+//uox*Cox/2=x
+x=20*10^-6;//A/V^2
+Vtn=1;
+V1=5;
+V2=0;
+Iref=0.25*10^-3;
+Io=0.1*10^-3;
+Vgs2=1.85;
+//let y=W/L
+y2=Io/(x*(Vgs2-Vtn)^2);
+printf('\nwidth per length 2=%.2f\n',y2)
+y1=Iref/(x*(Vgs2-Vtn)^2);
+printf('\nwidth per length 1=%.2f\n',y1)
+Vgs1=Vgs2;
+Vgs3=V1-V2-Vgs1;
+printf('\nVgs3=%.2f V\n',Vgs3)
+y3=Iref/(x*(Vgs3-Vtn)^2);
+printf('\nwidth per length 3=%.2f\n',y3)
diff --git a/1223/CH10/EX10.8/Ex10_8.sce b/1223/CH10/EX10.8/Ex10_8.sce
new file mode 100755
index 000000000..3e84383c5
--- /dev/null
+++ b/1223/CH10/EX10.8/Ex10_8.sce
@@ -0,0 +1,14 @@
+clear;
+clc;
+//Example 10.8
+Iref=100;
+Io=Iref;
+//lambda=y
+y=0.01;
+gm=0.5*10^+3;
+ro=1/(y*Iref);
+printf('\noutput resistance=%.2f MOhm\n',ro)
+ro2=1;
+ro4=1;
+Ro=ro4+ro2*(1+gm*ro4);
+printf('\noutput resistance of cascode circuit=%.2f MOhm\n',Ro)
diff --git a/1223/CH10/EX10.9/Ex10_9.sce b/1223/CH10/EX10.9/Ex10_9.sce
new file mode 100755
index 000000000..070731e28
--- /dev/null
+++ b/1223/CH10/EX10.9/Ex10_9.sce
@@ -0,0 +1,20 @@
+clear;
+clc;
+//Example 10.9
+Idss1=2;
+Idss2=1;
+Vp1=-1.5;
+Vp2=Vp1;
+//lambda=y
+y1=0.05;
+y2=y1;
+V2=-5;
+Vds=1.5;
+Vsmin=Vds+V2;
+printf('\nminimum value of Vs=%.2f V\n',Vsmin)
+Io=Idss2*(1+y1*Vds);
+printf('\noutput current=%.2f mA\n',Io)
+Vgs1=(1-sqrt(Io/Idss1))*Vp1;
+printf('\ngate to source voltage of Q1=%.2f V\n',Vgs1)
+V1=Vgs1+Vsmin;
+printf('\nV1=%.2f V\n',V1)