summaryrefslogtreecommitdiff
path: root/3836/CH6/EX6.2/Ex6_2.sce
blob: 964f2cc3145060559831687a77ad32e6573b89ce (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Initialisation
Vo=15.2               //Output Voltage of Amplifier
Vi=1.82               //Input Voltage of Amplifier

//Calculation
Av=Vo/Vi                     //Voltage gain

//Result
printf("\n Voltage Gain, Av = %.2f",Av)