summaryrefslogtreecommitdiff
path: root/2459/CH22/EX22.3/Ex22_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH22/EX22.3/Ex22_3.sce')
-rw-r--r--2459/CH22/EX22.3/Ex22_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2459/CH22/EX22.3/Ex22_3.sce b/2459/CH22/EX22.3/Ex22_3.sce
new file mode 100644
index 000000000..97de46294
--- /dev/null
+++ b/2459/CH22/EX22.3/Ex22_3.sce
@@ -0,0 +1,15 @@
+//chapter22
+//example22.3
+//page491
+
+I_D=5 // mA
+I_DSS=10 // mA
+V_GS_off=-6 // V
+
+// we know that I_D=I_DSS*(1-V_GS/V_GS_off)^2 so making V_GS as subject we get
+
+V_GS=V_GS_off*(1-(I_D/I_DSS)^0.5)
+V_P=-V_GS_off
+
+printf("gate source voltage = %.3f V \n",V_GS)
+printf("pinch off voltage = %.3f V \n",V_P)