diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH5/EX5.3/Ex5_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1223/CH5/EX5.3/Ex5_3.sce')
-rwxr-xr-x | 1223/CH5/EX5.3/Ex5_3.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1223/CH5/EX5.3/Ex5_3.sce b/1223/CH5/EX5.3/Ex5_3.sce new file mode 100755 index 000000000..b32dc20cc --- /dev/null +++ b/1223/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+//Example 5.3
+R1=30;
+R2=20;
+RD=20;
+Vdd=5;
+Vtn=1;
+Kn=0.1;
+Vgs=R2*Vdd/(R1+R2);
+printf('\nVgs=%0.2f V\n',Vgs)
+I_D=Kn*(Vgs-Vtn)^2;
+printf('\nthe drain current=%0.1f mA\n',I_D)
+Vds=Vdd-I_D*RD;
+printf('\ndrain to source voltage=%0.1f V\n',Vds)
|