Chapter 20 Measurment of power

Example 20.1 Page no 721

In [3]:
#Given
V1=20                            #volts
V2=30                            #Volts
R1=100                           #ohm

#Calculation
p=(V2**2-V1**2)/(4.0*R1)

#Result
print"RF test power is ", p,"Watt"
RF test power is  1.25 Watt

Example 20.2 Page no 725

In [10]:
#Given
m=200                           #gm
sp=1                             #cal/gm degree C
T1=30                            #degree C
T2=40                            #degree C

#Calculation
P=4.18*m*sp*(T2-T1)

#Result
print"The power is ",round(P*10**-3,1),"K watt"
The power is  8.4 K watt

Example 20.3 Page no 728

In [14]:
#given
V1=8.0                               #Volts
V2=2.0                                #Volts

#Calculation
SWR=(V1+V2)/(V1-V2)
print"The standing wave ratio is ", round(SWR,2)
The standing wave ratio is  1.67