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 --- 1514/CH4/EX4.12/4_12.sce | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 1514/CH4/EX4.12/4_12.sce (limited to '1514/CH4/EX4.12') diff --git a/1514/CH4/EX4.12/4_12.sce b/1514/CH4/EX4.12/4_12.sce new file mode 100755 index 000000000..94366e6ce --- /dev/null +++ b/1514/CH4/EX4.12/4_12.sce @@ -0,0 +1,41 @@ +//chapter 4 +//example 4.12 +//page 128 +clear all; +clc ; +//given +Rc=2.2;Re=2.7; +Vcc=20;//supply voltage V +R1=18;R2=8.2; +Vbe=0.7; +//total dc load +R=Rc+Re; +//dc load line +Ic1=0; +Vce1=Vcc;//point A +Vce2=0; +Ic2=Vcc/(R); +plot([Vce1 Vce2],[Ic1 Ic2],'-.*'); +xtitle('dc load line','Vce in V','Ic in mA'); +a=gca(); +a.data_bounds=[-0.5 -0.5;21 5] + +Vb=(Vcc*R2)/(R1+R2); +Vb=6.3; +Ie=(Vb-Vbe)/Re; +Ic=Ie;//Q point Ic=2.07 +printf("\nQ point is at Ic=%.2f mA",Ic); + +//ac load line +//total ac load=Rc +deltaIc=1;//mA +deltaVce=-(deltaIc*Rc); +printf("\ndeltaVce=%.1f V for deltaIc = 1 mA",deltaVce); +printf("\npoints Q and ( deltaVce,deltaIc) constitute ac load line"); + + + + + + + -- cgit