summaryrefslogtreecommitdiff
path: root/68/CH6/EX6.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH6/EX6.2
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 '68/CH6/EX6.2')
-rwxr-xr-x68/CH6/EX6.2/ex2.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/68/CH6/EX6.2/ex2.sce b/68/CH6/EX6.2/ex2.sce
new file mode 100755
index 000000000..c4555eddf
--- /dev/null
+++ b/68/CH6/EX6.2/ex2.sce
@@ -0,0 +1,27 @@
+// Example 6.2 : Comparison between NMOS transistor and npn transistor
+
+disp("For NMOS transistor")
+I_D=100*10^-6; // (A)
+V_a=5; // V'_A=V_a (A)
+L=0.4; // (um)
+K_n=267*4/0.4*10^-6; // K_n=u_n*C_ox*(W/L) (A/V^2)
+V_OV=sqrt(2*I_D/K_n);
+g_m=sqrt(2*K_n*I_D)
+disp(g_m,"g_m (A/V)")
+disp("R_in is infinite")
+r_o=V_a*L/I_D;
+disp(r_o,"r_o (ohm)")
+A_O=g_m*r_o;
+disp(A_O,"A_O (V/V)")
+disp("For npn transistor")
+I_C=0.1*10^-3; // collector current
+B_o=100; // beta value
+V_A=35; // (V)
+g_m=I_C/V_T;
+disp(g_m,"g_m (A/V)")
+R_in=B_o/g_m;
+disp(R_in,"R_in (ohm)")
+r_o=V_A/I_C;
+disp(r_o,"r_o (ohm)")
+A_O=g_m*r_o;
+disp(A_O,"A_O (V/V)") \ No newline at end of file