summaryrefslogtreecommitdiff
path: root/2459/CH16/EX16.8/Ex16_8.sce
blob: 18f644aae6a56206f42fef3c3cfd4ebf10499d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//chapter16
//example16.8
//page351

Av=10000
R1=2 // kilo ohm
R2=18 // kilo ohm
Vi=1 // mV

mv=R1/(R1+R2)
Avf=Av/(1+Av*mv)
Vout=Avf*Vi

printf("feedback fraction  = %.1f \n",mv)

printf("voltage gain with negative feedback = %.1f \n",Avf)

printf("output voltage = %.1f mV \n",Vout)