//Ex:4.5
clc;
clear;
close;
printf("By the formula, gain increases with the square of D, so new diameter =2D will have gain 2*2=4 compared to diameter D. The increase in gain is 4 times or 6dB.");
printf("\n Similarly, the beamwidth varies with the inverse of D, so the new D causes beamwidth to one half its previous value ");