summaryrefslogtreecommitdiff
path: root/2825/CH2/EX2.12/Ex2_12.sce
blob: 25c035d7ed080ca094e2ac189a98292fd724c95b (plain)
1
2
3
4
5
6
7
8
9
//Ex2_12 Pg-92
clc

C=3*10^8 //speed of light in m/s
h=6.6*10^(-34) //plank's constant in J
Eg=1.98*1.6*10^(-19) //band gap
lamda=(C*h)/Eg //wavelength
printf("Wavelength = %.0f nm \n",lamda*10^9)
disp("     Since lamda is in the red region of the visible light and hence the colour of emitted radiation is RED")