summaryrefslogtreecommitdiff
path: root/2300/CH13/EX13.16.14
diff options
context:
space:
mode:
Diffstat (limited to '2300/CH13/EX13.16.14')
-rwxr-xr-x2300/CH13/EX13.16.14/Ex13_14.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/2300/CH13/EX13.16.14/Ex13_14.sce b/2300/CH13/EX13.16.14/Ex13_14.sce
new file mode 100755
index 000000000..4d94f51fc
--- /dev/null
+++ b/2300/CH13/EX13.16.14/Ex13_14.sce
@@ -0,0 +1,26 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 13 Field-Effect Transistors
+clc
+clear
+//For n-channel MOSFET operating in the depletion mode
+VDD=18//VDD=drain supply voltage
+VGS=0//VGS=gate-to-source voltage
+RL=600//RL=load resistance in ohms
+IDSS=18//IDSS=drain saturation current in mA for gate-to-source voltage (VGS)=0V
+Vp=-5//Vp=pinch-off voltage
+//Assuming that the operation is in the active region
+//ID=IDS=IDSS*(1-(VGS/Vp))^2
+//ID=(IDSS/Vp^2)(VGS-Vp)^2
+K=IDSS/(Vp^2)
+disp("mA/V^2",K,"The value of K is =")
+ID=IDSS//ID=drain current
+disp("mA",ID,"Since VGS=0,the value of ID=IDSS is=")
+VDS=VDD-(ID*(RL/10^3))//VDS=drain-to-source voltage and also converting RL in terms of kilo ohm
+disp("V",VDS,"The value of VDS is =")
+disp("V",Vp,"Pinch off voltage Vp is =")
+disp("V",VGS,"Gate to source voltage VGS is =")
+if (VDS>(VGS-Vp)) then
+ disp("As VDS>(VGS-Vp),(i.e.7.5>(0-(-5))),the MOSFET is actually in the active region ")
+end
+