summaryrefslogtreecommitdiff
path: root/2753/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2753/CH6/EX6.1/Ex6_1.sce')
-rwxr-xr-x2753/CH6/EX6.1/Ex6_1.sce22
1 files changed, 22 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