summaryrefslogtreecommitdiff
path: root/2863/CH4/EX4.5/ex4_5.sce
blob: 0c08740a9bcc00e19e71cf1113196e8a2be4598e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 4
//broadside array
//part a
printf("\n");
n=8;
m1=1;
d=0.5;
lamda=1;
ph1=acos((m1*lamda)/(n*d));
m2=2; 
ph2=acos((m2*lamda)/(n*d));
m3=3;
ph3=acos((m3*lamda)/(n*d));
printf("the direction of nulls are");
printf("\n%g %g %g radians",ph1,ph2,ph3);