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.5 | |
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.5')
-rwxr-xr-x | 2534/CH6/EX6.5/Ex6_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2534/CH6/EX6.5/Ex6_5.sce b/2534/CH6/EX6.5/Ex6_5.sce new file mode 100755 index 000000000..fa46b80c9 --- /dev/null +++ b/2534/CH6/EX6.5/Ex6_5.sce @@ -0,0 +1,18 @@ +//Ex6_5
+clc
+VBB = 1
+VCC = 12
+IC = 12*10^-3
+VCE = 4
+beta = 80
+VBE = 0.7
+disp("VBB = "+string(VBB)+"V")//base supply voltage
+disp("VCC = "+string(VCC)+"V")//collector 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
+IB = IC/beta
+disp("IB = IC/beta = "+string(IB)+"A")//base current
+RC = (VCC - VCE)/IC
+disp("RC = (VCC - VCE)/IC = "+string(int(RC))+"ohm")//collector resistance
|