In [4]:

```
#given
Q=60
IF=455*10**3
x=680.0*10**3
#calculation
import math
imf=x+2*(IF) #image frequency
a=(imf/x)
b=(x/imf)
c=(Q*(a-b))
d=20*math.log10(c)
#result
print"The image frequency is ",imf,"Hz"
print"image rejection = ",round(d,3),"dB"
```

In [1]:

```
#given
NF=20.0
df=10**6
#calculation
x=10*math.log10(df)
S=-174+NF+x
a=5 #input intercept
dr=2/3.0*(a-S)
#result
print"S= ",S,"dB"
print"dynamic range= ",dr,"dB"
```

In [1]:

```
#given
nf=5.0
x=24.0
y=20.0
#calculation
import math
NR0=10**(nf/10.0)
NR1=10**(y/10.0)
PG1=10**(x/10.0)
NR=NR0+((NR1-1)/PG1)
NF=10*math.log10(NR)
S=-174+NF+60
a=nf-x #the system's third-order intercept point
dr=2/3.0*(a-S)
#result
print"NR1 = ",round(NR0,3)
print"NR2 = ",NR1
print"PG1= = ",round(PG1,3)
print"NR = ",round(NR,3),"dB"
print"NF = ",round(NF,3),"dB" #total system noise figure
print"S = ",round(S,3),"dBm" #sensitivity
print"the systems third-order intercept point is",a,"dB"
print"dynamic range = ",round(dr,1),"dB"
```

In [9]:

```
#given
x=24
nf=-5
NR = 3.16+(99/10.0)
#calculation
import math
NF = 10*math.log10(NR)
S=-174+NF+60
dr = 2/3.0*(nf-S)
#result
print"NR = ",NR #noise ratio
print"NF = ",round(NF,3),"dB" #noise figure
print"S = ",round(S,3),"dBm" #sensitivity
print"dynamic range = ",round(dr,3),"dB"
```

In [10]:

```
#given
x=0.40*100*10**6
y=(100*10**6/(2.0**32))
#fCLK is reference oscillator
#result
print"The maximum output frequency is approximately 40 percent of fCLK MAX",x,"Hz"
print"The frequency resolution is given by ",round(y,3),"Hz"
```