summaryrefslogtreecommitdiff
path: root/3769/CH15/EX15.8/Ex15_8.sce
blob: acf0087574bec4dba5f8767c8d7cf1a875f10a75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//Given
E0=8*10**-4                         //v
c=3.0*10**8
w=6*10**6

//Calculation
//
B0=E0/c
f=w/(2.0*%pi)
l=c/f

//Result
printf("\n Wavelength of the wave is %0.4f  m",l*10**-4)
printf("\n Frequency is %0.3f  *10**10 Hz",f*10**-6)