summaryrefslogtreecommitdiff
path: root/2863/CH2/EX2.35/ex2_35.sce
blob: b8827396477dc7ed4deafb8415a5d60c39d3245d (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter 2
printf("\n");
Gt=1.5;
Gr=1.5;
d=10;
Pt=15;
f=10^9;
c=3*10^8;
lamda=c/f;
Pr=Pt*Gt*Gr*(lamda/(4*(%pi)*d))^2;
printf("the radiated power is %gW",Pr);