//Example 1_5 clc; clear; //To Calculate the amplitude ratio of the sources Imax=9 Imin=1 Imax_Imin=Imax/Imin amax_amin=sqrt(Imax_Imin) a1_a2=amax_amin-1 printf("the ratio of amplitudes %d/%d",a1_a2,1)