blob: 69fcad3c45616a06cb1f598aa7ccc92d640c10f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
//Initialisation
Av=10 //Voltage gain
Vi=2 //Input Voltage of Amplifier
Rl=50 //Load Resistance
Ro=0 //Output Resistance of amplifier in Ohm
//Calculation
Vo=Av*Vi*Rl/(Ro+Rl) //Output Voltage of Amplifier
//Result
printf("\n Ouput voltage of and amplifier = %.1f V",Vo)
|