summaryrefslogtreecommitdiff
path: root/2885/CH6/EX6.2/ex6_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2885/CH6/EX6.2/ex6_2.sce')
-rwxr-xr-x2885/CH6/EX6.2/ex6_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2885/CH6/EX6.2/ex6_2.sce b/2885/CH6/EX6.2/ex6_2.sce
new file mode 100755
index 000000000..adfbbaf44
--- /dev/null
+++ b/2885/CH6/EX6.2/ex6_2.sce
@@ -0,0 +1,18 @@
+//Determine the Q point
+clear;
+clc;
+//soltion
+//given
+B=150; //dc beta
+Rc=1*10^3;//ohm //resistor connected to collector
+Rb=100*10^3;//ohm //resistor connected to base
+Vcc=10;//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 i.e. Ic(sat) and since the transistor is in saturation mode therefore Vce will become 0
+
+Vce=0;
+printf("The Q point is (%d V, %.0f mA)",Vce,Ics*1000);