summaryrefslogtreecommitdiff
path: root/2863/CH2/EX2.7/ex2_7.sce
blob: 458ca91f144c08d6bac2ee9a09f5e22fe48e417f (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 2
//GT=GR=Antilog[GT or Gr(in db)/10]=31.622*10^3
//1 mile=1609.35 m
printf("\n");
freq=3*10^9;
d=48280.5;//30miles*1609.35
lamda=(3*10^8)/(3*10^9);
printf("the wavelength is %gm",lamda);
Pt=(10^-3)*((4*(%pi)*48280.5)/0.1)^2*(1/(31.622*10^3)^2);//Pr=Pt(GR*GT*(lamda/4*pi*d)^2),Pr=1mW
printf("\nthe transmitter power is %gW",Pt);