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)