summaryrefslogtreecommitdiff
path: root/226/CH13/EX13.12/example12_sce.sce
blob: d4fc17424a242bba6b58e30ab3cf36018b7c7a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//chapter 13
//example 13.12
//page 573
printf("\n")
printf("given")
Av=1000;f=100;hie=2*10^3;hfe=100;R8=12*10^3;Rl=120*10^3;R10=3.9*10^3;R6=Rl;R7=39*10^3;R3=R8;
Av1=sqrt(Av)
Av2=Av1;
R9=((R8*Rl)/(R8+Rl))/Av2
R9=330;//use standard value
Av2=((R8*Rl)/(R8+Rl))/R9
Av1=Av/Av2
Zb=hie+R9*(1+hfe)
Zin=(R6*R7*Zb)/(R6*R7+R6*Zb+R7*Zb)
R4=((R3*Zin)/(R3+Zin))/Av1
R5=R10-R4