summaryrefslogtreecommitdiff
path: root/275/CH3/EX3.3.55/Ch3_3_55.sce
blob: a5f63195e45bf8e696cf23d55c9efc2bdd391f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
clc
disp("Example 3.55")
printf("\n")
disp("Calculate transistor hFE & new Vce level for hFE=100 of base bias ciruit")
printf("Given\n")
//given
Vcc=24
Rb=390*10^3
Rc=3.3*10^3
Vce=10
//Find Ic
Ic=(Vcc-Vce)/Rc  //from circuit
//find Ib
Ib=(Vcc-Vce)/Rb  //from ciruit
//the value of hFE
hFE=Ic/Ib
//to find Vce when hFE=100
hFE1=100
Ic1=hFE1*Ib
Vce1=Vcc-(Ic1*Rc)
printf("Value of hFE is \n%f\n",hFE)
printf("New value of Vce is \n%f volt\n",Vce1)