summaryrefslogtreecommitdiff
path: root/2863/CH4/EX4.6/ex4_6.sce
blob: f6e9a6d73cd968fbce2aabea989a169efe3c52b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 4
//from previous problems values
//broadside array
printf("\n");
m1=1;
n=8;
d=0.5;
lamda=1;
ph1=acos(lamda*(2*m1+1)/(2*n*d));
m2=2;
ph2=acos(lamda*(2*m2+1)/(2*n*d));
m3=3;
ph3=acos(lamda*(2*m3+1)/(2*n*d));
printf("the minor lobes values are");
printf("\n%g %g %g",ph1,ph2,ph3);