summaryrefslogtreecommitdiff
path: root/1427/CH34/EX34.1/34_1.sce
blob: 1833fcc8fe964b12f86addfb00cb377954a53b74 (plain)
1
2
3
4
5
6
7
//ques-34.1
//Calculating frequency of radiations
clc
w=5000*10^-8;//wavelength (in cm)
c=2.996*10^10;//speed of light (in cm/s)
f=c/w;
printf("The frequency of the radiations is %.0f*10^14 /s.",f*10^-14);