summaryrefslogtreecommitdiff
path: root/2885/CH6/EX6.1
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.1
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.1')
-rwxr-xr-x2885/CH6/EX6.1/ex6_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2885/CH6/EX6.1/ex6_1.sce b/2885/CH6/EX6.1/ex6_1.sce
new file mode 100755
index 000000000..875fd8a4a
--- /dev/null
+++ b/2885/CH6/EX6.1/ex6_1.sce
@@ -0,0 +1,19 @@
+//Determine the Q point
+clear;
+clc;
+//soltion
+//given
+B=50; //dc beta
+Rc=2.2*10^3;//ohm //resistor connected to collector
+Rb=270*10^3;//ohm //resistor connected to base
+Vcc=9;//V //Voltage supply across the collector resistor
+Vbe=0.7;//V //base to emitter voltage
+Ib=(Vcc-Vbe)/Rb; //Base current
+Ic=B*Ib; //Colletor current
+Ics=Vcc/Rc; //Colletor saturation current
+
+//Actual Ic is the smaller of the above two values
+
+Vce=Vcc-Ic*Rc;
+printf("The Q point is (%.2f V, %.1f mA)",Vce,Ic*1000);
+//In book Vce = 5.7 V because of approaximation