blob: b0c8005eb1fbf24ea073065527fc13ed28874cbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc//
//
//
//Variable declaration
h=6.62*10^-34; //planck's constant(J sec)
c=3*10^8; //velocity of light(m/sec)
Eg=1.43*1.6*10^-19; //energy gap(J)
//Calculation
lamda=h*c*10^6/Eg; //wavelength of radiation(micro m)
//Result
printf("\n wavelength of radiation is %0.3f micro m",lamda)
|