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/CH6/EX6.6/Ex6_6.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2534/CH6/EX6.6/Ex6_6.sce (limited to '2534/CH6/EX6.6') diff --git a/2534/CH6/EX6.6/Ex6_6.sce b/2534/CH6/EX6.6/Ex6_6.sce new file mode 100755 index 000000000..0f57448ec --- /dev/null +++ b/2534/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,22 @@ +//Ex6_6 +clc +VCC = 9 +VBB = 3 +IC = 2*10^-3 +beta = 50 +VBE = 0.7 +VCE = 4 +disp("VCC = "+string(VCC)+"V")//collector supply voltage +disp("VBB = "+string(VBB)+"V")//base supply voltage +disp("IC = "+string(IC)+"A")//collector current +disp("beta = "+string(beta))//current gain +disp("VBE = "+string(VBE)+"V")//voltage across base and emitter +disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter +IB = IC/beta +disp("IB = IC/beta = "+string(IB)+"A")//base current +RB = (VBB - VBE)/IB +disp("RB = (VBB - VBE)/IB = "+string(RB)+"ohm")//base resistance according to the given in circuit + + +// note: misprint in the question, author is asking for IB instead of beta, as beta is already provided. +// note: calculation done in the textbook for the problem is wrong. -- cgit