blob: 90fb9e4bffbccc0b9adfb2661409a0fe11b286a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//Given
Ri=665.0 //ohm
Ib=15.0 //micro A
Ic=2 //mA
Ro=5*10**3 //ohm
//Calculation
Bac=Ic/Ib*10**3
Av=Bac*(Ro/Ri)
//Result
printf("\n The voltage gain is %0.0f ",Av)
|