summaryrefslogtreecommitdiff
path: root/2885/CH6/EX6.5/ex6_5.sce
blob: 8f3662de8a1a409f9ad1002c7361fa873e8fa091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//determine Q point in collector to base bias circuit
clear;
clc;
//soltion
//given
B=100;            //dc beta
Rc=500;//ohm      //resistor connected to collector
Rb=500*10^3;//ohm      //resistor connected to base
Vcc=10;//V            //Voltage supply across the collector resistor
Ib=Vcc/(Rb+B*Rc);         //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+Ib)*Rc;
printf("The Q point is (%.1f V, %.1f mA)",Vce,Ic*1000);