summaryrefslogtreecommitdiff
path: root/2534/CH11/EX11.8/Ex11_8.sce
blob: 5b3bc5f581008414f3bd4a40d51c2e612f002856 (plain)
1
2
3
4
5
6
7
8
//Ex11_8
clc
VCC = 15//collector voltage
Vp = 12//output peak voltage
disp("VCC = "+string(VCC)+"V")
disp("Vp = "+string(Vp)+"V")
eta = 78.5*(Vp/VCC)//amplifier efficiency
disp("eta = 78.5*(Vp/VCC) = "+string(eta)+"%")