summaryrefslogtreecommitdiff
path: root/1223/CH6/EX6.6
diff options
context:
space:
mode:
Diffstat (limited to '1223/CH6/EX6.6')
-rwxr-xr-x1223/CH6/EX6.6/Ex6_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1223/CH6/EX6.6/Ex6_6.sce b/1223/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..fe3a60be0
--- /dev/null
+++ b/1223/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,17 @@
+clear;
+clc;
+//Example 6.6
+Vtn=0.8;
+Kn=1;//(mA/V^2)
+Idq=0.5;
+Vdd=5;
+Rd=7;//(Kohm)
+Vgsq=sqrt(Idq/Kn)+Vtn;
+printf('\nVgsq=%.2f V\n',Vgsq)
+Vs=-Vgsq
+Vdsq=Vdd-Idq*Rd-Vs;
+printf('\nVdsq=%.2f V\n',Vdsq)
+g_m=2*Kn*(Vgsq-Vtn);
+printf('\ntransconductance=%.3f mA/V\n',g_m)
+Av=-g_m*Rd;
+printf('\nsmall signal voltage gain=%.2f\n',Av)