summaryrefslogtreecommitdiff
path: root/2882/CH8/EX8.12/Ex8_12.sce
blob: 4caa99925cbd05e008e55968fb3d714f4feb65b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Tested on Windows 7 Ultimate 32-bit
//Chapter 8 Power Amplifiers Pg no. 289 and 290
clear;
clc;

//Given Data

VCC=12;//collector supply voltage in volts
RL=16;//load resistance of loudspeaker in ohms
Pmax=1;//input power of loudspeaker
VCE_sat=0.7;//collector to emitter saturation voltage in volts

//Solution

k=(VCC-VCE_sat)/sqrt(2*RL*Pmax);//turns ratio
printf("Turns ratio η = %.3f or %.f turns",k,k);