summaryrefslogtreecommitdiff
path: root/2375/CH6/EX6.4/ex6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2375/CH6/EX6.4/ex6_4.sce')
-rwxr-xr-x2375/CH6/EX6.4/ex6_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2375/CH6/EX6.4/ex6_4.sce b/2375/CH6/EX6.4/ex6_4.sce
new file mode 100755
index 000000000..1af493a93
--- /dev/null
+++ b/2375/CH6/EX6.4/ex6_4.sce
@@ -0,0 +1,15 @@
+// Exa 6.4
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+I_DSS = 8;// in mA
+I_DSS = I_DSS * 10^-3;// in A
+V_P =-5;// in V
+V_GS = -2;// in V
+V_DSmin = V_GS - V_P;// in V
+disp(V_DSmin,"The minimum value of V_DS in V is");
+I_DS = I_DSS*((1 - (V_GS/V_P))^2);// in A
+I_DS = I_DS * 10^3;// in mA
+disp(I_DS,"The drain current in mA is");