summaryrefslogtreecommitdiff
path: root/2102/CH6/EX6.4/exa_6_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '2102/CH6/EX6.4/exa_6_4.sce')
-rwxr-xr-x2102/CH6/EX6.4/exa_6_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2102/CH6/EX6.4/exa_6_4.sce b/2102/CH6/EX6.4/exa_6_4.sce
new file mode 100755
index 000000000..d8f21bd75
--- /dev/null
+++ b/2102/CH6/EX6.4/exa_6_4.sce
@@ -0,0 +1,13 @@
+// Exa 6.4
+clc;
+clear;
+close;
+// Given data
+I_DSS= -40;// in mA
+I_DSS=I_DSS*10^-3;// in A
+V_P= 5;// in V
+I_D= -15;// in mA
+I_D=I_D*10^-3;// in A
+// Formula I_D= I_DSS*(1+V_GS/V_P)
+V_GS= (sqrt(I_D/I_DSS)-1)*V_P;// in volt
+disp(V_GS,"The value of V_GS in volts is : ")