In [1]:

```
# Variable Declaration
L = 50.0*pow(10,-6) # Transmitter Inductance (H)
C = 1.0*pow(10,-9) # Transmitter Capacitance (F)
AF_range = 10*pow(10,3) # Audio Frequency Range (Hz)
# Calculation
import math # Math Library
fc= 1/(2*math.pi*math.sqrt(L*C))# Center Frequency (Hz)
fl= fc-AF_range# Frequency of LSB (Hz)
fu= fc+AF_range# Frequency of USB (Hz)
# Result
print "Center Frequency, fc= ",math.ceil(fc/pow(10,3)),"kHz"
print "Frequency Range occupied by the Sidebands is",math.ceil(fl/pow(10,3)),"to",math.ceil(fu/pow(10,3)),"kHz"
```

In [2]:

```
# Variable Declaration
P_c = 400 # Carrier Power (W)
m = 0.75 # Modulation Index
# Calculation
import math # Math Library
P_AM = P_c*(1+pow(m,2)/2) # Total Power in the modulated Wave (W)
# Result
print "Total Power in the Modulated Wave is",P_AM,"W"
```

In [3]:

```
# Variable Declaration
P_t = 10000 # Radio Transmitter Power (W)
m = 0.60 # Modulation Index
# Calculation
import math # Math Library
P_c = P_t/(1+pow(m,2)/2) # Carrier Power (W)
# Result
print "Carrier Power is",round(P_c/pow(10,3),2),"kW"
```

In [4]:

```
# Variable Declaration
I_t = 8.93 # Total Antenna current (A)
I_c = 8 # Carrier Antenna Current (A)
m = 0.80 # Modulation Index
# Calculation
import math # Math Library
m1 = math.sqrt(2*(pow(I_t/I_c,2)-1)) # Percentage Modulation (%)
I_t1 = I_c*math.sqrt(1+pow(m,2)/2) # Antenna Current (A)
# Result
print "Modulation Index calculated for first part is",round(m1*100,1),"%"
print "Antenna Current calculated for second part is",round(I_t1,2),"A"
```

In [1]:

```
# Variable Declaration
P_t = 10.125*pow(10,3) # Total Power(W)
P_c = 9.00*pow(10,3) # Carrier Power(W)
m2 = 0.40 # Modulation Index
# Calculation
import math # Math Library
m1 = math.sqrt(2*(P_t/P_c-1)) # Modulation Index
mt = math.sqrt(pow(m1,2)+pow(m2,2)) # Total Modulation index
P_AM = P_c*(1+pow(mt,2)/2) # Total Radiated Power(W)
# Result
print "Modulation Index of first part is, m =",m1
print "Total Modulation Index is, m_t =",round(mt,2)
print "Total Radiated Power, P_AM =",P_AM/pow(10,3),"kW"
```

In [6]:

```
# Variable Declaration
I_t = 11 # Total Antenna current (A)
I_T = 12 # Total Antenna current for second part (A)
m1 = 0.40 # Modulation Index
# Calculation
import math # Math Library
I_c = I_t/math.sqrt(1+pow(m1,2)/2) # Current (A)
mt = math.sqrt(2*(pow(I_T/I_c,2)-1)) # Modulation Index
m2 = math.sqrt(pow(mt,2)-pow(m1,2)) # Modulation Index
# Result
print "Modulation Index calculated is",round(m2,2)
```

In [7]:

```
# Variable Declaration
P_c = 400 # Carrier Power (W)
m1 = 1.0 # Modulation Index (for first part)
m2 = 0.75 # Modulation Index (for second part)
# Calculation
import math # Math Library
# (i) Power saving of DSBSC compared to AM for 100% Modulation Depth
P_AM1=P_c*(1+pow(m1,2)/2) # Power of AM Wave (W)
P_DSBSC1=P_c*pow(m1,2)/2 # Power of DSBSC Wave (W)
Saving1=P_AM1-P_DSBSC1 # Power Saving (W)
# (ii) Power Required for DSBSC Wave Transmission for 75% Modulation Depth
P_DSBSC2=P_c*pow(m2,2)/2 # Power of DSBSC Wave (W)
# Result
print "(i) Power of AM Wave for",m1*100,"% Modulation Depth is",P_AM1,"W"
print " Power of DSBSC Wave for",m1*100,"% Modulation Depth is",P_DSBSC1,"W"
print " Power saving of DSBSC compared to AM for",m1*100,"% Modulation Depth is",Saving1,"W"
print "(ii) Power Required for DSBSC Wave Transmission for",m2*100,"% Modulation Depth is",P_DSBSC2,"W"
print " Power of DSBSC is maximum for m = 1, and less for m < 1."
```

In [8]:

```
# Variable Declaration
P_DSBSC = 1000 # Total Power (W)
m = 0.60 # Modulation Index
# Calculation
import math # Math Library
P_c = P_DSBSC*(2/pow(m,2)) # Carrier Power (W)
# Result
print "We require",round(P_c/pow(10,3),2),"kW to transmit the carrier component along with the existing",P_DSBSC/pow(10,3)," kW for the sidebands."
```

In [9]:

```
# Variable Declaration
P_c = 400 # Carrier Power (W)
m1 = 1.0 # Modulation Index (for first part)
m2 = 0.75 # Modulation Index (for second part)
# Calculation
import math # Math Library
# (i) Power saving of SSB compared to AM AND DSBSC for 100% Modulation Depth
P_AM1 = P_c*(1+pow(m1,2)/2) # Power of AM Wave (w)
P_DSBSC1 = P_c*pow(m1,2)/2 # Power of DSBSC Wave (w)
P_SSB1 = P_c*pow(m1,2)/4 # Power of SSB Wave (w)
Saving1 = P_AM1-P_SSB1 # Power Saving (w)
Saving2 = P_DSBSC1-P_SSB1 # Power Saving (w)
# (ii) Power Required for SSB Wave Transmission for 75% Modulation Depth
P_SSB2 = P_c*pow(m2,2)/4 # Power of SSB Wave (w)
# Result
print "(i) Power of SSB Wave for",m1*100,"% Modulation Depth is",P_SSB1,"W"
print " Power saving of SSB compared to AM for",m1*100,"% Modulation Depth is",Saving1,"W and compared to DSBSC for",m1*100,"% Modulation Depth is",Saving2,"W"
print "(ii) Power Required for SSB Wave Transmission for",m2*100,"% Modulation Depth is",P_SSB2,"W"
print " Power of SSB is maximum for m = 1, and less for m < 1."
```

In [10]:

```
# Variable Declaration
P_SSB = 0.5*pow(10,3) # Total Power (W)
m = 0.60 # Modulation Index
# Calculation
import math # Math Library
P_c = P_SSB*(4/pow(m,2)) # Carrier Power (W)
# Result
print "We require",round(P_c/pow(10,3),2),"kW to transmit the carrier component along with the existing",P_SSB/pow(10,3),"kW for the one sideband and",1-P_SSB/pow(10,3),"kW more for another sideband."
print "In Total",round(P_c/pow(10,3)+1,2),"kW is required by the AM Transmitter"
```

In [11]:

```
# Variable Declaration
m1 = 1.0 # Modulation Index for (a)
m2 = 0.5 # Modulation Index for (b)
# Calculation
import math # Math Library
# (a) Percentage Power Saving for Depth of Modulation 100 %
PAM_by_Pc1 = 1+pow(m1,2)/2 # Ratio of AM Wave to Carrier Power (W)
PSSB_By_Pc1 = pow(m1,2)/4 # Ratio of SSB Wave to Carrier Power (W)
Saving1 = (PAM_by_Pc1-PSSB_By_Pc1)/PAM_by_Pc1 # Power Saving (W)
# (b) Percentage Power Saving for Depth of Modulation 50 %
PAM_by_Pc2 = 1+pow(m2,2)/2 # Ratio of AM Wave to Carrier Power (W)
PSSB_By_Pc2 = pow(m2,2)/4 # Ratio of SSB Wave to Carrier Power (W)
Saving2 = (PAM_by_Pc2-PSSB_By_Pc2)/PAM_by_Pc2 # Power Saving (W)
# Result
print "(a)Percentage Power Saving for Depth of Modulation of",m1,"is",round(Saving1*100,1),"%"
print "(b)Percentage Power Saving for Depth of Modulation of",m2,"is",round(Saving2*100,1),"%"
```

In [12]:

```
# Variable Declaration
P_c = 400 # Carrier Power (W)
m1 = 1.0 # Modulation Index (for first part)
m2 = 0.75 # Modulation Index (for second part)
x = 0.2 # (*100)Percentage Wanted Sideband in VSB (%)
# Calculation
import math # Math Library
# (i) Power saving of VSB compared to AM, DSBSC and SSB for 100% Modulation Depth
P_AM1 = P_c*(1+pow(m1,2)/2) # Power of AM Wave (W)
P_DSBSC1 = P_c*pow(m1,2)/2 # Power of DSBSC Wave (W)
P_SSB1 = P_c*pow(m1,2)/4 # Power of SSB Wave (W)
P_VSB1 = P_c*pow(m1,2)/4+x*P_c*pow(m1,2)/4 # Power of VSB Wave (W)
Saving1 = P_AM1-P_VSB1 # Power Saving (W)
Saving2 = P_DSBSC1-P_VSB1 # Power Saving (W)
Saving3 = P_VSB1-P_SSB1 # Power Saving (W)
# (ii) Power Required for VSB Wave Transmission for 75% Modulation Depth
P_VSB2 = P_c*pow(m2,2)/4+x*P_c*pow(m2,2)/4 # Power of VSB Wave (W)
# Result
print "(i) Power Required for VSB Wave Transmission for",m1*100,"% Modulation Depth is",P_VSB1,"W"
print " Power saving of VSB compared to AM for",m1*100,"% Modulation Depth is",Saving1,"W and compared to DSBSC for",m1*100,"% Modulation Depth is",Saving2,"W and compared to SSB for",m1*100,"% Modulation Depth is",Saving3,"W"
print "(ii) Power Required for VSB Wave Transmission for",m2*100,"% Modulation Depth is",P_VSB2,"W"
```

In [13]:

```
# Variable Declaration
P_VSB = 0.625*pow(10,3) # Total Power (W)
m = 0.60 # Modulation Index
x = 0.25 # (*100) Percentage Power Transmitted of other Sideband (%)
# Calculation
import math # Math Library
P_c = P_VSB*(4/((1+x)*pow(m,2))) # Carrier Power (W)
# Result
print "We require",round(P_c/pow(10,3),2),"kW to transmit the carrier component along with the existing",P_VSB/pow(10,3),"kW for the one sideband and",1-P_VSB/pow(10,3),"kW more for rest of the other sidebands."
print "In Total",round(P_c/pow(10,3)+1,2),"kW is required by AM Transmitter"
```