summaryrefslogtreecommitdiff
path: root/69/CH7/EX7.20/7_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '69/CH7/EX7.20/7_20.sce')
-rwxr-xr-x69/CH7/EX7.20/7_20.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/69/CH7/EX7.20/7_20.sce b/69/CH7/EX7.20/7_20.sce
new file mode 100755
index 000000000..adfaa9cdc
--- /dev/null
+++ b/69/CH7/EX7.20/7_20.sce
@@ -0,0 +1,18 @@
+clear; clc; close;
+
+Idss = 8*10^(-3);
+Vp = -6;
+Vdd = 18;
+Rs = 1.2*10^(3);
+R1 = 2*10^(6);
+R2 = 470*10^(3);
+
+m = abs(Vp)/(Idss*Rs);
+Vg = R2*Vdd/(R1+R2);
+M = m*(Vg/abs(Vp));
+
+Idq = 0.52*Idss;
+Vgsq = -0.27*abs(Vp);
+
+disp(Vgsq,'Vgsq(Volts) = ');
+disp(Idq,'Idq(Amperes) = ');