#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"
#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"
#given
V1=8.0 #Volts
V2=2.0 #Volts
#Calculation
SWR=(V1+V2)/(V1-V2)
print"The standing wave ratio is ", round(SWR,2)