summaryrefslogtreecommitdiff
path: root/1427/CH19/EX19.10/19_10.sce
blob: 74040b9940b03d8fc0d74a9c86dacc9d87e18e58 (plain)
1
2
3
4
5
6
7
8
//ques-19.10
//Calculating wavelength of radiation emitted
clc
E=1.76*10^-18;//energy absorbed (in J)
c=3*10^8;//speed of light (in m/s)
h=6.6*10^-34;//(in Js)
w=(h*c)/E;
printf("The wavelength of the radiation emitted is %.1f nm.",w*10^9);