summaryrefslogtreecommitdiff
path: root/2863/CH2/EX2.6/ex2_6.sce
blob: ff61d18efee0e3930a315a8f9167feb22446c511 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 2
//Pavg=0.5*|E|^2/etta0,Prmax=2*10^-6W,Aem=Prmax/Pavg
printf("\n");
E=50*10^-3;
Etta0=120*(%pi);
printf("the electric field is %eV/m",E);
Pavg=0.5*(50*10^-3)^2/(120*(%pi));
printf("\nthe average power is %gW",Pavg);
Aem=(2*10^-6)/(3.315*10^-6);
printf("\nthe maximum effective aperture area is %gm^2",Aem);