Develop an adaptive Filon integration scheme for general wavenumber integrals based on the FFP approximation (large-argument Hankel function approximation).

a. Implement and test your algorithm using the Green’s function subroutine developed for the previous problem.

b. Using the number of Green’s function calculations as a performance measure, compare this approach to the simple direct trapezoidal rule integration in terms of computational efficiency for cases where the field is to be determined at a single range only.

c. Discuss qualitatively the performance of the adaptive scheme relative to use of an FFT to compute transmission loss at a large number of ranges.