diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2534/CH6/EX6.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2534/CH6/EX6.7')
-rwxr-xr-x | 2534/CH6/EX6.7/Ex6_7.sce | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/2534/CH6/EX6.7/Ex6_7.sce b/2534/CH6/EX6.7/Ex6_7.sce new file mode 100755 index 000000000..c7e6b54b6 --- /dev/null +++ b/2534/CH6/EX6.7/Ex6_7.sce @@ -0,0 +1,32 @@ +//Ex6_7
+clc
+VCC = 12
+VBB = 3
+IC = 12*10^-3
+VCE = 5.5
+beta = 100
+VBE = 0.7
+Re = 50
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("IC = "+string(IC)+"A")//collector current
+disp("VCE = "+string(VCE)+"V")//voltage across collector and emitter
+disp("beta = "+string(beta))//current gain
+disp("VBE = "+string(VBE)+"V")//voltage across base and emitter
+disp("Re = "+string(Re)+"ohm")//emittter resistance
+IB = IC/beta
+disp("IB = IC/beta = "+string(IB)+"A")//base current
+//from base-emitter circuit;
+IE = IC+IB
+Rb = (VBB - VBE - (IE*Re))/IB
+disp("Rb = (VBB - VBE - IE*Re)/IB = "+string(Rb)+"ohm")//base resistance
+//from collector-emitter circuit, we have
+Rc = (VCC - VCE - (IE*Re))/(IC)
+disp("Rc = (VCC - VCE - (IE*Re))/IC = "+string(Rc)+"ohm")//collector resistance
+
+
+//NOTE : in textbook the notation used for base and emitter resistance in fig. and in calculation are different
+
+
+
+// note : calculation perform in the textbook is wrong for the above problem
|