summaryrefslogtreecommitdiff
path: root/3507/CH13/EX13.9/Ex13_9.sce
blob: d078898ccee08090bd3717b5a2c6dc5fab9938e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//chapter13
//example13.9
//page283

Rc=3 // kilo ohm
Rl=6 // kilo ohm
Rin=0.5 // kilo ohm
Vin=1 // mV
gain_beta=50

R_AC=Rc*Rl/(Rc+Rl)
Av=gain_beta*R_AC/Rin

// since Av=Vout/Vin we get
Vout=Av*Vin

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