blob: 370ba8a47eca124045d9ca2bec5d321da2a4e809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//chapter 2
//part a
printf("\n");
c=3*10^8;
frequency=20*10^9;
lamda=c/frequency;
printf("the wavelength is %gm",lamda);
//part b
//Ae=G*(lamda)^2/4*pi
r=0.61;
Aep=(%pi)*r^2;
printf("\nthe effective physical aperture is %gm^2",Aep);
Ae=0.55*Aep;
Ga=(Ae*4*(%pi))/(lamda)^2;
Gdb=10*log10(Ga);
printf("\nthe antenna gain is %g",Ga);
printf("\nthe antenna gain in db is %gdb",Gdb);
|