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 --- 2534/CH7/EX7.5/Ex7_5.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2534/CH7/EX7.5/Ex7_5.sce (limited to '2534/CH7/EX7.5/Ex7_5.sce') diff --git a/2534/CH7/EX7.5/Ex7_5.sce b/2534/CH7/EX7.5/Ex7_5.sce new file mode 100755 index 000000000..5b497dc3d --- /dev/null +++ b/2534/CH7/EX7.5/Ex7_5.sce @@ -0,0 +1,21 @@ +//Ex7_5 +clc +VBE = 0.6 +beta = 100 +disp("beta = "+string(beta))//current gain +disp("VBE = "+string(VBE)+"V")//voltage across base and emitter +//according to given circuit; +VCC = 12 +RC = 5*10^3 +disp("VCC = "+string(VCC)+"V")//collector supply voltage +disp("RC = "+string(RC)+"ohm")//collector resistance +// optimum operating point is half of (VCC/RC) +IC = (1/2)*(VCC/RC) +disp("IC = VCC/(2*RC) = "+string(IC)+"A")//collector current at optimum operating point +IB = IC/beta +disp("IB = IC/beta = "+string(IB)+"A")//base current +//from the closed circuit in the given fig., we have +disp("IB*RB = VCC - VBE") +RB = (VCC - VBE)/IB +disp("RB = (VCC - VBE)/IB = "+string(RB)+"ohm")//veriable resistance across base-collector as given in circuit + -- cgit