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.8 | |
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.8')
-rwxr-xr-x | 2534/CH6/EX6.8/Ex6_8.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2534/CH6/EX6.8/Ex6_8.sce b/2534/CH6/EX6.8/Ex6_8.sce new file mode 100755 index 000000000..ba3cfcb2d --- /dev/null +++ b/2534/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,21 @@ +//Ex6_8
+clc
+VBB = 10
+RB = 500*10^3
+VCC = 15
+RC = 1.2*10^3
+beta =100
+disp("beta = "+string(beta))//current gain
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("RB = "+string(RB)+"ohm")//resistance across base terminal
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("RC = "+string(RC)+"ohm")//resistance across collector terminal
+IB = VBB/RB
+disp("IB = VBB/RB = "+string(IB)+"A")//base current
+IC = beta*IB
+disp("IC = beta*IB = "+string(IC)+"A")//collector current
+VCE = VCC - (IC*RC)
+disp("VCE = VCC - IC*RC = "+string(VCE)+"V")//voltage across collector and emitter
+
+
+// the answer printed in the textbook for VCE is wrong.
|