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/CH7/EX7.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/CH7/EX7.7')
-rwxr-xr-x | 2534/CH7/EX7.7/Ex7_7.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2534/CH7/EX7.7/Ex7_7.sce b/2534/CH7/EX7.7/Ex7_7.sce new file mode 100755 index 000000000..70f892aec --- /dev/null +++ b/2534/CH7/EX7.7/Ex7_7.sce @@ -0,0 +1,21 @@ +//Ex7_7
+clc
+VCC = 12
+RB = 300*10^3
+RC = 1.5*10^3
+Re = 2*10^3
+beta = 100
+disp("VCC = "+string(VCC)+"V")//collector supply voltage
+disp("RB = "+string(RB)+"ohm")//base resistance
+disp("RC = "+string(RC)+"ohm")//collector resistance
+disp("Re = "+string(Re)+"ohm")//emitter resistance
+disp("beta = "+string(beta))//current gain
+IB = VCC/(RB + beta*Re)
+disp("IB = VCC/(RB + beta*Re) = "+string(IB)+"A")//base current
+IC = beta*IB
+disp("IC = beta*IB = "+string(IC)+"A")//collector current
+IE = IB + IC
+disp("IE = IB + IC = "+string(IE)+"A")//emitter current
+VCE = VCC - IC*RC - IE*Re
+disp("VCE = VCC - IC*RC - IE*Re = "+string(VCE)+"V")//collector-emitter voltage
+disp("quiescent point is("+string(VCE)+"V, "+string(IC)+"A)")
|