summaryrefslogtreecommitdiff
path: root/2863/CH2/EX2.43/ex2_43.sce
blob: a0eb67002c8d46eb845b90e46938898d44c05d7d (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 2
//may june 2009
printf("\n");
n=10;
d=0.25;
lamda=1;//assume
Gdmax=4*((n*d)/lamda);
printf("\nthe maximum directive gain is %g",Gdmax);
Gdmaxdb=10*log10(Gdmax);
printf("\nthe maximum directive gain in db is %gdb",Gdmaxdb);