summaryrefslogtreecommitdiff
path: root/3756/CH7/EX7.4/Ex7_4.sce
blob: e734fe8e96410208cad1e201f030ec7ac0c490dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//
//
//

//Variable declaration
c=3*10**8
f=3*10**11
E0=50

//Calculations
lambdaa=(c/f)
B0=(E0/c)*10**7

//Result
printf("\n The Wavelength is %0.3f m or 10**-3 m",lambdaa)
printf("\n The Amplitude of the oscillating magnetic field is %1.2f *10**-7 T",B0)