summaryrefslogtreecommitdiff
path: root/2300/CH13/EX13.16.10/Ex13_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2300/CH13/EX13.16.10/Ex13_10.sce')
-rwxr-xr-x2300/CH13/EX13.16.10/Ex13_10.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2300/CH13/EX13.16.10/Ex13_10.sce b/2300/CH13/EX13.16.10/Ex13_10.sce
new file mode 100755
index 000000000..f90c17168
--- /dev/null
+++ b/2300/CH13/EX13.16.10/Ex13_10.sce
@@ -0,0 +1,12 @@
+//scilab 5.4.1
+//Windows 7 operating system
+//chapter 13 Field-Effect Transistors
+clc
+clear
+IDS=-15//IDS=drain saturation current in terms of mA
+Vp=5//Vp=pinch-off voltage
+IDSS=-40//IDSS=saturation drain current in mA when VGS(gate-to-source voltage)=0V
+//By Shockley's equation
+//IDS=IDSS*(1-(VGS/Vp))^2
+VGS=Vp*(1-sqrt(IDS/IDSS))//VGS=gate-to-source voltage
+disp("V",VGS,"The gate-to-source voltage VGS is=")