```
In [0]:
```from __future__ import print_function
from IPython.display import Image
import numpy as np
Image('../data/radar.png')

b) Answer: first find mrmax and MUR for the two PRFs

```
In [0]:
```the_lambda=0.1
c=3.e8
PRF=2200
mrmax=the_lambda*PRF/4.
MUR=c/(2.*PRF)*1.e-3
print("At a PRF of {} Hz, the mrmax is {} m/s and the MUR is {} km".format(PRF,mrmax,MUR))

```
In [0]:
```PRF=1100
mrmax=the_lambda*PRF/4.
MUR=c/(2.*PRF)*1.e-3
print("At a PRF of {} Hz, the mrmax is {} m/s and the MUR is {} km".format(PRF,mrmax,MUR))

```
In [0]:
```delta_phi=30/27.5*180.
print("phase angle for 30 m/s is {} degrees".format(delta_phi))
print("radar will display this as {} degrees in opposite direction".format((360. - delta_phi)))
print("the magnitude of the aliased velocity will be {} m/s".format((360. - delta_phi)/180.*mrmax))

```
In [0]:
```text="""At 2200 Hz, the mrmax is 55 m/s and the smallest phase angle for 30 ms is: {:5.2f} degrees
At 1110 Hz, the mrmax is 27.5 m/s and the smallest phase angle for 30 m/s is {:5.2f} degrees
"""
print(text.format((30/55.*180.),(360. - (30./27.5*180.))))
print(98.18*np.pi/180.)
print(163.64*np.pi/180.)

d) Find the maximum unambiguous range for this radar when the PRF is at i) 1100 Hz and ii) 2200 Hz.

As calculated above, at 2200 Hz the MUR is 68.1 km and at 1100 Hz the MUR is 136.6 km