summaryrefslogtreecommitdiff
path: root/2375/CH6/EX6.7/ex6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2375/CH6/EX6.7/ex6_7.sce')
-rwxr-xr-x2375/CH6/EX6.7/ex6_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2375/CH6/EX6.7/ex6_7.sce b/2375/CH6/EX6.7/ex6_7.sce
new file mode 100755
index 000000000..47ad4900e
--- /dev/null
+++ b/2375/CH6/EX6.7/ex6_7.sce
@@ -0,0 +1,19 @@
+// Exa 6.7
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Vt = 2;// in V
+i_D = 1;// in mA
+i_D = i_D * 10^-3;// in A
+V_GS = 3;// in V
+// From i_D= 1/2*KnwByL*(V_GS-Vt)^2
+KnwByL= 2*i_D/(V_GS-Vt)^2;
+V_GS= 4;// in V
+V_DS= 5;// in V
+i_D= 1/2*KnwByL*(V_GS-Vt)^2;// in A
+i_D= i_D*10^3;// in mA
+disp(i_D,"The value of i_D in mA is : ")
+r_DS= 1/(KnwByL*(V_GS-Vt));// in ohm
+disp(r_DS,"The value of drain to source resistance in ohm is : ")