//Ex:2.1
clc;
clear;
close;
c=3*10^8;// the speed of light in m/s
f=1000000;// frequency in Hz
y=c/f;// wavelength in m
printf("The wavelength = %d meter", y);