summaryrefslogtreecommitdiff
path: root/3754/CH30/EX30.8/30_8.sce
blob: 0181e2b6add2daa3323b02711b1196b70271b218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

gm = 4.0 * 10**-3                      //Transconductance (in Siemen)
RD = 1.5 * 10**3                       //Drain resistance (in ohm) 

//Calculation

Av = -gm * RD                          //Voltage gain    

//Result

printf("\n Voltage gain is  %0.3f .",Av)