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.6 | |
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.6')
-rwxr-xr-x | 2534/CH6/EX6.6/Ex6_6.sce | 22 |
1 files changed, 22 insertions, 0 deletions
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.
|