blob: 0152d4498b0643e651e28f1ae80b9099b5a5c094 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
clc
//
//
//
//Variable declaration
mu0=4*3.14*10**-7
mur=1
Er=2
E0=8.86*10**-12
E01=5
c=3*10**8
//Calculations
Z=sqrt((mu0*mur)/(E0*Er))
H0=(E01/Z)*10
v=((c)/sqrt(mur*Er))*10**-8
//Result
printf("\n The Impedence of the Medium is %3.1f ",Z)
printf("\n The Peak Magnetic Field Intensity is %1.3f A/m",H0)
printf("\n The Velocity of the wave is %1.2f *10**8 m/s",v)
|