From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1658/CH22/EX22.7/Ex22_7.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 1658/CH22/EX22.7/Ex22_7.sce (limited to '1658/CH22/EX22.7') 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="); -- cgit