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 /2885/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 '2885/CH6/EX6.7')
-rwxr-xr-x | 2885/CH6/EX6.7/ex6_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2885/CH6/EX6.7/ex6_7.sce b/2885/CH6/EX6.7/ex6_7.sce new file mode 100755 index 000000000..9fbb63352 --- /dev/null +++ b/2885/CH6/EX6.7/ex6_7.sce @@ -0,0 +1,15 @@ +//Calculate the value of all three current Ie and Ic and Ib
+clear;
+clc;
+//soltion
+//given
+B=90; //dc beta
+Rc=1*10^3;//ohm //resistor connected to collector
+Rb=500*10^3;//ohm //resistor connected to base
+Re=500;//ohm //resistor connected to emitter
+Vcc=9;//V //Voltage supply across the collector resistor
+Ib=Vcc/(Rb+B*Re); //Base current
+Ic=B*Ib; //Colletor current
+Ie=Ic+Ib; //Emitter current
+printf("Base current = %.1f uA \nCollector current = %.3f mA \nEmitter current = %.4f mA",Ib*10^6,Ic*10^3,Ie*10^3);
+
|