Chapter 1:Introduction To Microwaves

Example 1, Page no:6

In [1]:
import math

# Given data
R   = 1.2;      #ratio of free space wavelength of a microwave signal to its wavelength when prop. through a dielectric medium

# Calculations
# lamda = lamda0/sqrt(er);
# er    = (lamda0/lamda)**2;
#let lamda0/lamda  = R

er  = (R)**2;        # Dielectric constant of medium

#Output
print'The Dielectric constant of medium = %3.2f'%er;
The Dielectric constant of medium = 1.44

Example 2, Page no:8

In [1]:
import math
#Given data
Rmax        = 112;      # Max permissable range in Kms
H1          = 256;      # Ht of the antenna in m
# Calculations
#Rmax  = 4(math.sqrt(H1) + math.sqrt(H2));
# H2    = ((Rmax/4)-math.sqrt(H1))**2;
H2    = ((Rmax/float(4))-math.sqrt(H1))**2;      # Ht of other antenna
# Output
print'Height of other antenna = %d m'%H2;
Height of other antenna = 144 m