summaryrefslogtreecommitdiff
path: root/2885/CH6/EX6.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2885/CH6/EX6.9
downloadScilab-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.9')
-rwxr-xr-x2885/CH6/EX6.9/ex6_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2885/CH6/EX6.9/ex6_9.sce b/2885/CH6/EX6.9/ex6_9.sce
new file mode 100755
index 000000000..0a81225a7
--- /dev/null
+++ b/2885/CH6/EX6.9/ex6_9.sce
@@ -0,0 +1,16 @@
+//Determine the value of base resistance
+clear;
+clc;
+//soltion
+//given
+
+B=100; //dc beta
+Rc=200;//ohm //resistor connected to collector
+Re=500;//ohm //resistor connected to emitter
+Vcc=9;//V //Voltage supply across the collector as it is PNP so taking positive
+Vce=4.5;//V //Collector to emitter voltage
+Ic=(Vcc-Vce)/(Rc+Re);
+Ib=Ic/B;
+Rb=(Vcc-B*Re*Ib)/Ib;
+printf("The value of base resistance is %.0f kΩ",Rb/1000);
+