//Ex:4.31
clc;
clear;
close;
a=14*%pi/180;// angle in radian
N=25;// number of turns
s_c=tan(a);// the ratio of s to c and c=y
D=(15*N*s_c);// directivity of 35 turn helix
d=10*log(D)/log(10);// directivities of 35 turn helix in dB
printf("The directivity of 35 turn helix = %f dB", d);