summaryrefslogtreecommitdiff
path: root/3630/CH13/EX13.2/Ex13_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH13/EX13.2/Ex13_2.sce')
-rw-r--r--3630/CH13/EX13.2/Ex13_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3630/CH13/EX13.2/Ex13_2.sce b/3630/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..de8b82b06
--- /dev/null
+++ b/3630/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,12 @@
+Idon=0.01;
+Vgson=10;
+Vgsth=1.5;
+k=Idon/(Vgson-Vgsth)^2;
+Vdd=10;
+R2=1000000;
+R1=1000000;
+Vg=Vdd*(R2/(R1+R2));
+Id=k*((Vg-Vgsth)^2);
+disp('mA',Id*1000,"Id=")//The answers vary due to round off error
+
+