blob: 5f05aed7fa97cb3258fe8d150997617bdfbddc30 (
plain)
1
2
3
4
5
6
7
|
//ques-35.1
//Calculating frequency of radiations
clc
w=500;//wavelength (in nm)
c=2.996*10^10;//speed of light (in cm/s)
f=c/(w*10^-7);
printf("The frequency of the radiations is %.0f*10^14 Hz.",f*10^-14);
|