In [3]:

```
#Given
Vp=8 #volts
R=75 #Ohm
#Calculation
Vmax=0.707*Vp
P=Vmax**2/R
#Result
print"Power is dissipated in the load is ",round(P,4),"Watt"
```

In [8]:

```
#Given
Pf=380.0 #Watt
Pr=40 #Watt
#Calculation
import math
m=math.sqrt(Pr/Pf)
SWR=(1+m)/(1-m)
print"SWR= ",round(SWR,2)
```