summaryrefslogtreecommitdiff
path: root/1730/CH4/EX4.8/Exa4_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1730/CH4/EX4.8/Exa4_8.sce')
-rwxr-xr-x1730/CH4/EX4.8/Exa4_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1730/CH4/EX4.8/Exa4_8.sce b/1730/CH4/EX4.8/Exa4_8.sce
new file mode 100755
index 000000000..c5e542c81
--- /dev/null
+++ b/1730/CH4/EX4.8/Exa4_8.sce
@@ -0,0 +1,18 @@
+//Exa 4.8
+clc;
+clear;
+close;
+//given data :
+IDSS=8.7;//in mAmpere
+IDSS=IDSS*10^-3;//in Ampere
+VP=-3;//in Volt
+VGS=-1;//in Volt
+//ID
+ID=IDSS*[1-VGS/VP]^2
+disp(ID*1000,"Drain current ID in mA : ");
+//gmo
+gmo=-2*IDSS/VP;//in S
+disp(gmo*1000,"Transconductance for VGS=0V in mA/V or mS : ");
+//gm
+gm=gmo*(1-VGS/VP);//in S
+disp(gm*1000,"Transconductance in mA/V or mS : "); \ No newline at end of file