1 2 3 4 5 6 7 8
//Ex:4.12 clc; clear; close; y=0.1;// wavelength in m GP=1000;// power gain D=y*(sqrt(GP/6));// diameter of the mouth in m printf("The diameter of the mouth = %f meter", D);