summaryrefslogtreecommitdiff
path: root/2375/CH6/EX6.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2375/CH6/EX6.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2375/CH6/EX6.5')
-rwxr-xr-x2375/CH6/EX6.5/ex6_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2375/CH6/EX6.5/ex6_5.sce b/2375/CH6/EX6.5/ex6_5.sce
new file mode 100755
index 000000000..f53f61349
--- /dev/null
+++ b/2375/CH6/EX6.5/ex6_5.sce
@@ -0,0 +1,17 @@
+// Exa 6.5
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+I_DSS = 1.65;// in mA
+I_DSS = I_DSS * 10^-3;// in A
+V_P = -2;// in V
+I_D = 0.8;// in mA
+I_D = I_D * 10^-3;// in A
+V_DD = 24;// in V
+V_GS = V_P * (1 - sqrt( I_D/I_DSS ));// in V
+disp(V_GS,"The value of V_GS in V is");
+g_mo = -2 * (I_DSS*10^3/V_P);// in ms
+g_m = g_mo * (1 - V_GS/V_P);// in ms
+disp(g_m,"The value of g_m in ms is");