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/CH19/EX19.9/Ex19_9.sce | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 1658/CH19/EX19.9/Ex19_9.sce (limited to '1658/CH19/EX19.9') diff --git a/1658/CH19/EX19.9/Ex19_9.sce b/1658/CH19/EX19.9/Ex19_9.sce new file mode 100755 index 000000000..c270dbd14 --- /dev/null +++ b/1658/CH19/EX19.9/Ex19_9.sce @@ -0,0 +1,37 @@ +clc; +//e.g 19.9 +Vcc=10; +Rc=5*10**3; +RE1=500; +R1=50*10**3; +R2=10*10**3; +Rs=600; +rE=500; +beta1=50; +Vbe=0.7; +vs=100*10**-3; +Rl=50*10**3; +Vth=(Vcc*R2)/(R1+R2); +disp('V',Vth*1,"Vth="); +Rth=(R1*R2)/(R1+R2); +disp('10^3ohm',Rth*10**-3,"Rth="); +RE=RE1+rE; +disp('ohm',RE*1,"RE="); +Ie=(Vth-Vbe)/(RE+(Rth/beta1)); +disp('mA',Ie*10**3,"Ie="); +re=25/(Ie*10**3); +disp('ohm',re*1,"re="); +Ri=beta1*(re+rE); +disp('Kohm',Ri*10**-3,"Ri="); +Ris=(Rth*Ri)/(Rth+Ri); +disp('ohm',Ris*1,"Ris="); +rl=(Rc*Rl)/(Rc+Rl) +disp('kohm',rl*10**-3,"rl="); +Av=rl/(re+rE); +disp(Av); +VinBYVs=(Ris)/(Ris+Rs); +disp('V',VinBYVs*1,"VinBYVs="); +Avs=Av*VinBYVs; +disp(Avs); +V0=Avs*vs; +disp('mV',V0*10^3,"V0=");//answer printed in the book is wrong(variation in decimal point) -- cgit