summaryrefslogtreecommitdiff
path: root/2882/CH7/EX7.18/Ex7_18.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2882/CH7/EX7.18/Ex7_18.sce
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 '2882/CH7/EX7.18/Ex7_18.sce')
-rwxr-xr-x2882/CH7/EX7.18/Ex7_18.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2882/CH7/EX7.18/Ex7_18.sce b/2882/CH7/EX7.18/Ex7_18.sce
new file mode 100755
index 000000000..661b5ab7c
--- /dev/null
+++ b/2882/CH7/EX7.18/Ex7_18.sce
@@ -0,0 +1,24 @@
+//Tested on Windows 7 Ultimate 32-bit
+//Chapter 7 Field Effect Transistors Pg no. 255 and 256
+clear;
+clc;
+
+//Given Data
+//Figure 7.49(b)
+
+R1=8.2D3;//divider network resistance R1 in ohms
+R2=15D3;//divider network resistance R2 in ohms
+RD=680;//drain resistance in ohms
+RS=0;//source resistance in ohms
+VDD=20;//drain supply voltage in volts
+ID_ON=2D-3;//ON drain current in amperes
+VGS=10;//gate to source voltage in volts
+VGS_th=5;//threshold voltage in volts
+
+//Solution
+
+VGS_Q=VDD*R2/(R1+R2);//gate to source voltage in volts
+C=ID_ON/(VGS-VGS_th)^2;//constant C in ampere/volt^2
+ID=C*(VGS_Q-VGS_th)^2;//drain current in amperes
+VDS=VDD-ID*RD;//drain to source voltage in volts
+printf("VDS = %.2f Volts",VDS);