blob: 68cef3c02e5fd6053d320d8293ceddd4abfbead3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clear//
//Variables
nc = 0.5 //Efficiency
VCC = 24.0 //Source voltage (in volts)
Poac = 3.5 //a.c. power output (in watt)
//Calculation
Ptrdc = Poac / nc //dc power (in watt)
Pcdc = Ptrdc - Poac //Power dissipated as heat (in watt)
//Result
printf("\n Total power within the circuit is %0.3f W.\nThe power Pcdc = %0.3f W is dissipated in the form of heat within the transistor collector region.",Ptrdc,Pcdc)
|