summaryrefslogtreecommitdiff
path: root/69/CH7/EX7.1/7_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '69/CH7/EX7.1/7_1.sce')
-rwxr-xr-x69/CH7/EX7.1/7_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/69/CH7/EX7.1/7_1.sce b/69/CH7/EX7.1/7_1.sce
new file mode 100755
index 000000000..fad565fe3
--- /dev/null
+++ b/69/CH7/EX7.1/7_1.sce
@@ -0,0 +1,22 @@
+clear; clc; close;
+
+Vgg = 2;
+Idss = 10*10^(-3);
+Vp = -4;
+Vdd = 16;
+Rd = 2*10^(3);
+
+Vgs = -Vgg;
+Id = Idss*(1-(Vgs/Vp))^2;
+Vds = Vdd - Id*Rd;
+Vd = Vds;
+Vg = Vgs;
+Vs = 0;
+
+disp(Vgs,'Vgsq(Volts) = ');
+disp(Id,'Idq(Amperes) = ');
+disp(Vds,'Vds(Volts) = ');
+disp(Vd,'Vd(Volts) = ');
+disp(Vg,'Vg(Volts) = ');
+disp(Vs,'Vs(Volts) = ');
+