blob: 2a4fc8a0ff355668ee9e825d339115da6c1b86d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//chapter 2
//formula is Etheta=60*pi*I(dl/lambda)*(sin(theta)/r) where thetha=90
printf("\n");
r=200;
printf("distance between points is %dm",r);
lam=10;
printf("\nthe wavelength is %dm",lam);
idl=3*10^-4;
printf("\nthe current element is %eA/m",idl);
Etheta=60*3.14*3*10^-3/2;
printf("\nEtheta is value is %eV/m",Etheta);
|