blob: 333ba66093eb76ae86a60042d73b185b0deb9e3f (
plain)
1
2
3
4
5
6
7
8
|
//Example 21_1
clc();
clear;
//To find the wavelength of the electromagnetic wave
v=3*10^8 //Units in meters/sec
f=1.02*10^6 //Units in Hz
lamda=v/f //Units in Meters
printf("The Wavelength of the Electromagnetic wave is lamda=%d meters",lamda)
|