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 /1658/CH22/EX22.7 | |
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 '1658/CH22/EX22.7')
-rwxr-xr-x | 1658/CH22/EX22.7/Ex22_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1658/CH22/EX22.7/Ex22_7.sce b/1658/CH22/EX22.7/Ex22_7.sce new file mode 100755 index 000000000..274e02918 --- /dev/null +++ b/1658/CH22/EX22.7/Ex22_7.sce @@ -0,0 +1,15 @@ +clc;
+//e.g 22.7
+VDD=20;
+RD=2.5*10**3;
+RS=1.5*10**3;
+R1=2*10**6;
+R2=250*10**3;
+ID=4*10**-3;
+VG=(R2*VDD)/(R1+R2);
+VS=ID*RS;
+VGS=VG-VS;
+disp('V',VGS*1,"VGS=");
+VD=VDD-ID*RD;
+VDS=VD-VS;
+disp('V',VDS*1,"VDS=");
|