diff options
Diffstat (limited to '2753/CH6')
-rwxr-xr-x | 2753/CH6/EX6.1/Ex6_1.sce | 22 | ||||
-rwxr-xr-x | 2753/CH6/EX6.2/Ex6_2.sce | 14 | ||||
-rwxr-xr-x | 2753/CH6/EX6.3/Ex6_3.sce | 13 | ||||
-rwxr-xr-x | 2753/CH6/EX6.4/Ex6_4.sce | 17 | ||||
-rwxr-xr-x | 2753/CH6/EX6.5/Ex6_5.sce | 11 | ||||
-rwxr-xr-x | 2753/CH6/EX6.6/Ex6_6.sce | 10 | ||||
-rwxr-xr-x | 2753/CH6/EX6.7/Ex6_7.sce | 18 |
7 files changed, 105 insertions, 0 deletions
diff --git a/2753/CH6/EX6.1/Ex6_1.sce b/2753/CH6/EX6.1/Ex6_1.sce new file mode 100755 index 000000000..026c0e012 --- /dev/null +++ b/2753/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,22 @@ +//Example 6.1: +clc; +clear; +close; +//given data : +Vgs= [0;0;0.3];//in V +Vds=[5;10;10];//in V +Id=[8;8.2;7.6];//in mA +dVds=Vds(2)-Vds(1);//in V +dId=Id(2)-Id(1);//in mA +rd=(dVds/dId);//in kilo-ohm +format('v',4) +disp(rd,"(i) A.C. Drain resistance is ,(kilo-ohm)=") +dVgs=Vgs(3)-Vgs(2);//in V +dId1=Id(2)-Id(3);//in mA +gm=dId1/dVgs;//in mA/volt +format('v',3) +disp(gm,"(ii) Transconductance is ,(mS)=") +mu=gm*rd;//A/V +format('v',4) +disp(mu,"(iii) Amplification factor is ,=") +//Transconductance and Amplification factor are calculated wrong in the textbook diff --git a/2753/CH6/EX6.2/Ex6_2.sce b/2753/CH6/EX6.2/Ex6_2.sce new file mode 100755 index 000000000..67b43b44d --- /dev/null +++ b/2753/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,14 @@ +//Example 6.2: +clc; +clear; +close; +//given data : +I1=1;// in mA +I2=1.2;// in mA +del_ID=(I2-I1); +V1=-3;// in V +V2=-2.9;// in V +del_VGS=V2-V1;// in V +gm=del_ID/del_VGS; +format('v',4) +disp(gm,"mutual conductance,gm(mS) = ") diff --git a/2753/CH6/EX6.3/Ex6_3.sce b/2753/CH6/EX6.3/Ex6_3.sce new file mode 100755 index 000000000..8fb214111 --- /dev/null +++ b/2753/CH6/EX6.3/Ex6_3.sce @@ -0,0 +1,13 @@ +//Example 6.3: +clc; +clear; +close; +//given data : +format('v',4) +a=5.6*10^-6/2;// channel width in m +epsilon0=8.86*10^-12;// in F/m +epsilon=12*epsilon0;// in F/m +Nd=10^21;// in m^-3 +e=1.6*10^-19;// in V +Vp=e*Nd*a^2/(2*epsilon); +disp(Vp,"Pinch off voltage,Vp(V) = ") diff --git a/2753/CH6/EX6.4/Ex6_4.sce b/2753/CH6/EX6.4/Ex6_4.sce new file mode 100755 index 000000000..37740ae11 --- /dev/null +++ b/2753/CH6/EX6.4/Ex6_4.sce @@ -0,0 +1,17 @@ +//Example 6.4: +clc; +clear; +close; +//given data : +I_DES=8.7;// in mA +V1=-3;// in V +V_GS=-1;// in V +ID=I_DES*(1-(V_GS/V1))^2; +format('v',6) +disp(ID,"(i). ID(mA) = ") +gmo=-(2*I_DES/V1); +format('v',4) +disp(gmo,"(ii). gmo(mS) = ") +gm=gmo*(1-(V_GS/V1)); +format('v',6) +disp(gm,"(iii). gm(mA) = ") diff --git a/2753/CH6/EX6.5/Ex6_5.sce b/2753/CH6/EX6.5/Ex6_5.sce new file mode 100755 index 000000000..f50d9fe4f --- /dev/null +++ b/2753/CH6/EX6.5/Ex6_5.sce @@ -0,0 +1,11 @@ +//Example 6.5: +clc; +clear; +close; +//given data : +format('v',4) +ID=3;// in mA +I_DSS=9;// in mA +Vp=-4.5;// in V +Vgs=-Vp*(sqrt(ID/I_DSS)-1); +disp(Vgs,"Vgs(V) = ") diff --git a/2753/CH6/EX6.6/Ex6_6.sce b/2753/CH6/EX6.6/Ex6_6.sce new file mode 100755 index 000000000..8a0365f83 --- /dev/null +++ b/2753/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,10 @@ +//Example 6.6: +clc; +clear; +close; +//given data : +gm=3;//Transconductance in mS +rl=10;//load resistance in kilo-ohm +av=gm*rl;// +format('v',4) +disp(av,"the voltage aplification is ,=") diff --git a/2753/CH6/EX6.7/Ex6_7.sce b/2753/CH6/EX6.7/Ex6_7.sce new file mode 100755 index 000000000..3c38e44ed --- /dev/null +++ b/2753/CH6/EX6.7/Ex6_7.sce @@ -0,0 +1,18 @@ +//Example 6.7: +clc; +clear; +close; +//given data : +Rl=20;//in kilo-ohm +Rs=1;//in kilo-ohm +Rg=1;//in M-ohm +Cs=25;//in micro-F +mu=20;//amplification factor +rd=100;//in kilo-ohm +vi=2;//in V +f=1;//in kilo-Hz +Xc=((1/(2*%pi*f*10^3*Cs*10^-6)));//in ohm +A=((mu*Rl*10^3)/((rd+Rl)*10^3));//Voltage gain +Vo=A*vi;//in V +format('v',5) +disp(Vo,"amplifier output signal voltage is ,(V)=") |