summaryrefslogtreecommitdiff
path: root/2300/CH9/EX9.12.4/Ex9_4.sce
blob: 84b3547143cf0824593ae8f709a3b99be2e097b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//scilab 5.4.1
//Windows 7 operating system
//chapter 9 Basic Voltage and Power Amplifiers
clc
clear
//In a CE class A power amplifier
RL=12//RL=load resistance in ohms
n=8//n=primary-to-secondary turns ratio of a transformer
//Peak-to-peak swing of the signal current is 250mA
Im=(250*10^-3)/2//Im=ac collector current in Ampere
RL1=(n^2)*RL//RL1=RL'=resistance reflected to the primary for the resistance RL in presence of an ac signal
//Pac=(1/2)*Vm*Im where Pac=ac output power
//Pac=(1/2)*(Im^2)*RL1
Pac=(1/2)*(Im^2)*RL1
disp("W",Pac,"The output power is =")