summaryrefslogtreecommitdiff
path: root/275/CH5/EX5.5.15/Ch5_5_15.sce
blob: 0983b8deb18fa318f2c89418e4656cc41ad8ad97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
clc
disp("Example 5.15")
printf("\n")
disp("For CE amplifier shown in fig 5.5 find R1,R2,Re & Rc")
printf("Given\n")
Vcc=24
//load resistance
RL=120*10^3
//since Rc<<RL
Rc=RL/10
//select Ve & Vce
Ve=5
Vce=3
Vrc=Vcc-Vce-Ve  //from circuit
Ic=Vrc/Rc
//find Re
Re=Ve/Ic
R2=10*Re
//Vbe for si transistor
Vbe=0.7
Vb=Vbe+Ve
I2=Vb/R2
R1=(Vcc-Vb)/I2
printf("The resistance values are\nR1=%f ohm\nR2=%f ohm\nRe=%f ohm\nRc=%f ohm\n",R1,R2,Re,Rc)